Browse Source

Do not compute a convex hull for layer data nodes

CURA-10004
Erwan MATHIEU 1 year ago
parent
commit
9334447972
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PlatformPhysics.py

+ 1 - 1
cura/PlatformPhysics.py

@@ -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