No longer create convex hulls for modifier meshes

CURA-6030
This commit is contained in:
Jaime van Kessel 2019-05-17 09:47:47 +02:00
parent 1c9eab6b2b
commit 8b73f7cef9

View file

@ -76,7 +76,7 @@ class PlatformPhysics:
move_vector = move_vector.set(y = -bbox.bottom + z_offset)
# If there is no convex hull for the node, start calculating it and continue.
if not node.getDecorator(ConvexHullDecorator):
if not node.getDecorator(ConvexHullDecorator) and not node.callDecoration("isNonPrintingMesh"):
node.addDecorator(ConvexHullDecorator())
# only push away objects if this node is a printing mesh