Do not compute a convex hull for layer data nodes

CURA-10004
This commit is contained in:
Erwan MATHIEU 2023-09-18 15:16:04 +02:00
parent e4a6b8dd91
commit 9334447972

View File

@ -85,7 +85,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) and not node.callDecoration("isNonPrintingMesh"):
if not node.getDecorator(ConvexHullDecorator) and not node.callDecoration("isNonPrintingMesh") and node.callDecoration("getLayerData") is None:
node.addDecorator(ConvexHullDecorator())
# only push away objects if this node is a printing mesh