diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py index 6c33f652d97..3769db4d146 100755 --- a/plugins/3MFReader/ThreeMFWorkspaceReader.py +++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py @@ -951,7 +951,7 @@ def read(self, file_name): full_extents = node_box else: full_extents = full_extents + node_box - if full_extents.isValid(): + if full_extents and full_extents.isValid(): for node in nodes: pos = node.getPosition() node.setPosition(Vector(pos.x - full_extents.center.x, pos.y, pos.z - full_extents.center.z))