Merge remote-tracking branch 'aeva/671_fix_stl'
This commit is contained in:
commit
126c3503a0
@ -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))
|
||||
|
||||
@ -121,6 +122,8 @@ def auto_detect(fileob, hint):
|
||||
pass
|
||||
except ValueError:
|
||||
pass
|
||||
except IndexError:
|
||||
pass
|
||||
try:
|
||||
# It is pretty important that the binary stl model loader
|
||||
# is tried second, because its possible for it to parse
|
||||
|
Loading…
x
Reference in New Issue
Block a user