mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:58:59 +08:00
Ungrouping now copies parent transformation onto children.
Fixes Ultimaker/Cura#360
This commit is contained in:
parent
00cdafc50a
commit
5d7abb5864
@ -468,6 +468,12 @@ class CuraApplication(QtApplication):
|
||||
|
||||
for child in children_to_move:
|
||||
child.setParent(node.getParent())
|
||||
print(node.getPosition())
|
||||
child.translate(node.getPosition())
|
||||
child.setPosition(child.getPosition().scale(node.getScale()))
|
||||
child.scale(node.getScale())
|
||||
child.rotate(node.getOrientation())
|
||||
|
||||
Selection.add(child)
|
||||
child.callDecoration("setConvexHull",None)
|
||||
node.setParent(None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user