diff --git a/plugins/3MFReader/ThreeMFReader.py b/plugins/3MFReader/ThreeMFReader.py index 032a32c61e..ac3c5f474d 100644 --- a/plugins/3MFReader/ThreeMFReader.py +++ b/plugins/3MFReader/ThreeMFReader.py @@ -106,6 +106,11 @@ class ThreeMFReader(MeshReader): node.setTransformation(temp_mat) + try: + node.getBoundingBox() # Selftest - There might be more functions that should fail + except: + continue + result.addChild(node) Job.yieldThread() @@ -118,7 +123,6 @@ class ThreeMFReader(MeshReader): result = result.getChildren()[0] # Only one object found, return that. except Exception as e: Logger.log("e", "exception occured in 3mf reader: %s", e) - try: # Selftest - There might be more functions that should fail bounding_box = result.getBoundingBox() bounding_box.isValid()