Raise exception if python mesh fails to extract meshes

This commit is contained in:
surkeh committed 2018-05-16 22:32:43 -07:00
1 parent 43afe7bf70
commit 6ffe6f57ec
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ class pyMesh:
i,
filedata,
len(filedata)):
print("failed to get mesh")
raise RuntimeError("failed to get mesh")
del mh, memsize
return