mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix load (3mf) groups. Also add convex hull decorator to children of node. CURA-3671
This commit is contained in:
parent
3263ca4e2d
commit
c989496a13
1 changed files with 3 additions and 0 deletions
|
@ -1278,6 +1278,9 @@ class CuraApplication(QtApplication):
|
||||||
# If there is no convex hull for the node, start calculating it and continue.
|
# If there is no convex hull for the node, start calculating it and continue.
|
||||||
if not node.getDecorator(ConvexHullDecorator):
|
if not node.getDecorator(ConvexHullDecorator):
|
||||||
node.addDecorator(ConvexHullDecorator())
|
node.addDecorator(ConvexHullDecorator())
|
||||||
|
for child in node.getAllChildren():
|
||||||
|
if not child.getDecorator(ConvexHullDecorator):
|
||||||
|
child.addDecorator(ConvexHullDecorator())
|
||||||
|
|
||||||
if node.callDecoration("isSliceable"):
|
if node.callDecoration("isSliceable"):
|
||||||
# Find node location
|
# Find node location
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue