Fixed up the 3MF reader to use the changed MeshBuilder and MeshData.

CURA-1633 OverflowError: cannot convert float infinity to integer (loading larger models)
This commit is contained in:
Simon Edwards 2016-06-28 11:41:01 +02:00
parent 1543e4a6e0
commit 47de254f97
2 changed files with 42 additions and 44 deletions

View file

@ -144,6 +144,8 @@ class ConvexHullDecorator(SceneNodeDecorator):
else:
rounded_hull = None
mesh = None
world_transform = None
if self._node.getMeshData():
mesh = self._node.getMeshData()
world_transform = self._node.getWorldTransformation()