Fix load (3mf) groups. Also add convex hull decorator to children of node. CURA-3671

This commit is contained in:
Jack Ha 2017-04-10 16:11:42 +02:00
parent 3263ca4e2d
commit c989496a13

View file

@ -1278,6 +1278,9 @@ class CuraApplication(QtApplication):
# If there is no convex hull for the node, start calculating it and continue.
if not node.getDecorator(ConvexHullDecorator):
node.addDecorator(ConvexHullDecorator())
for child in node.getAllChildren():
if not child.getDecorator(ConvexHullDecorator):
child.addDecorator(ConvexHullDecorator())
if node.callDecoration("isSliceable"):
# Find node location