mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix merging & grouping
I made a boo-boo while adding typing. CURA-6058
This commit is contained in:
parent
37af42aa93
commit
4be228a4e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1404,7 +1404,7 @@ class CuraApplication(QtApplication):
|
||||||
selected_nodes = Selection.getAllSelectedObjects().copy()
|
selected_nodes = Selection.getAllSelectedObjects().copy()
|
||||||
for node in selected_nodes:
|
for node in selected_nodes:
|
||||||
parent = node.getParent()
|
parent = node.getParent()
|
||||||
if parent is not None and node in selected_nodes and not node.callDecoration("isGroup"):
|
if parent is not None and parent in selected_nodes and not parent.callDecoration("isGroup"):
|
||||||
Selection.remove(node)
|
Selection.remove(node)
|
||||||
|
|
||||||
# Move selected nodes into the group-node
|
# Move selected nodes into the group-node
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue