Improved robustness of Platform physics by checking if the hulls are calculated before trying to intersect them.

fixes CURA-1827
This commit is contained in:
Jaime van Kessel 2016-07-08 15:17:28 +02:00
parent 1ced206c5d
commit 19933cb4e7
2 changed files with 11 additions and 13 deletions

View file

@ -70,7 +70,7 @@ class ThreeMFReader(MeshReader):
# TODO: We currently do not check for normals and simply recalculate them.
mesh_builder.calculateNormals()
node.setMeshData(mesh_builder.build().getTransformed(rotation))
node.setSelectable(True)