Ascii stl files now should have their whitespace stripped when parsing.
This commit is contained in:
parent
eacb9c4886
commit
50d123b4be
@ -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))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user