Raise exception if python mesh fails to extract meshes

This commit is contained in:
surkeh 2018-05-16 22:32:43 -07:00
parent 43afe7bf70
commit 6ffe6f57ec

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