Skip to content

Commit 41ac6a6

Browse files
Fix one thing from review
1 parent 674c0ef commit 41ac6a6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/java/zmaster587/advancedRocketry/backwardCompat/WavefrontObject.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,7 @@ private void loadObjModel(InputStream inputStream) throws ModelFormatException
8282
lineCount++;
8383
currentLine = currentLine.replaceAll("\\s+", " ").trim();
8484

85-
/*if (currentLine.startsWith("#") || currentLine.length() == 0)
86-
{
87-
continue;
88-
}
89-
else*/ if (currentLine.startsWith("v "))
85+
if (currentLine.startsWith("v "))
9086
{
9187
Vertex vertex = parseVertex(currentLine, lineCount);
9288
if (vertex != null)
@@ -642,4 +638,4 @@ public String getType()
642638
{
643639
return "obj";
644640
}
645-
}
641+
}

0 commit comments

Comments
 (0)