Ascii stl files now should have their whitespace stripped when parsing.

This commit is contained in:
Aeva Ntsc 2013-03-25 07:55:24 -05:00
parent eacb9c4886
commit 50d123b4be

View File

@ -80,6 +80,7 @@ class ObjModel(ThreeDee):
def load(self, fileob):
for line in fileob:
line = line.strip()
if line[0] == "v":
self.verts.append(self.__vector(line))