From 6ffe6f57ece7fbe246a0281390f9bd789668decb Mon Sep 17 00:00:00 2001 From: surkeh Date: Wed, 16 May 2018 22:32:43 -0700 Subject: [PATCH] Raise exception if python mesh fails to extract meshes --- bindings/py3devil1geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/py3devil1geo.py b/bindings/py3devil1geo.py index 7388053..4102565 100644 --- a/bindings/py3devil1geo.py +++ b/bindings/py3devil1geo.py @@ -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