mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Deleting objects from groups no longer cause position changes
CURA-1891
This commit is contained in:
parent
0cf39b0ad4
commit
f8a9fa1a66
1 changed files with 1 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ class CuraApplication(QtApplication):
|
||||||
op.push()
|
op.push()
|
||||||
if group_node:
|
if group_node:
|
||||||
if len(group_node.getChildren()) == 1 and group_node.callDecoration("isGroup"):
|
if len(group_node.getChildren()) == 1 and group_node.callDecoration("isGroup"):
|
||||||
|
group_node.getChildren()[0].translate(group_node.getPosition())
|
||||||
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…
Add table
Add a link
Reference in a new issue