Ascii stl files now should have their whitespace stripped when parsing.
This commit is contained in:
@@ -80,6 +80,7 @@ class ObjModel(ThreeDee):
|
|||||||
|
|
||||||
def load(self, fileob):
|
def load(self, fileob):
|
||||||
for line in fileob:
|
for line in fileob:
|
||||||
|
line = line.strip()
|
||||||
if line[0] == "v":
|
if line[0] == "v":
|
||||||
self.verts.append(self.__vector(line))
|
self.verts.append(self.__vector(line))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user