mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:25:57 +08:00
Group delet checking is more explicit
CURA-1891
This commit is contained in:
parent
f52a3c1b9d
commit
19c60ee584
@ -583,7 +583,7 @@ class CuraApplication(QtApplication):
|
|||||||
|
|
||||||
op.push()
|
op.push()
|
||||||
if group_node:
|
if group_node:
|
||||||
if len(group_node.getChildren()) == 1:
|
if len(group_node.getChildren()) == 1 and group_node.callDecoration("isGroup"):
|
||||||
group_node.getChildren()[0].setParent(group_node.getParent())
|
group_node.getChildren()[0].setParent(group_node.getParent())
|
||||||
op = RemoveSceneNodeOperation(group_node)
|
op = RemoveSceneNodeOperation(group_node)
|
||||||
op.push()
|
op.push()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user