Catching ValueError when trying to use ObjModel on binary stl files.
This commit is contained in:
parent
8f496712d0
commit
ecee8d62c1
@ -140,6 +140,8 @@ def auto_detect(fileob, hint):
|
|||||||
return ObjModel(fileob)
|
return ObjModel(fileob)
|
||||||
except ThreeDeeParseError:
|
except ThreeDeeParseError:
|
||||||
pass
|
pass
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
try:
|
try:
|
||||||
# It is pretty important that the binary stl model loader
|
# It is pretty important that the binary stl model loader
|
||||||
# is tried second, because its possible for it to parse
|
# is tried second, because its possible for it to parse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user