mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Ungrouping now copies parent transformation onto children.
Fixes Ultimaker/Cura#360
This commit is contained in:
parent
00cdafc50a
commit
5d7abb5864
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue