mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:15:51 +08:00
Deleting objects from groups no longer cause position changes
CURA-1891
This commit is contained in:
parent
0cf39b0ad4
commit
f8a9fa1a66
@ -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…
x
Reference in New Issue
Block a user