Center of group node is now on correct position.

Fixes Ultimaker/Cura#378
This commit is contained in:
Jaime van Kessel 2015-09-11 13:49:16 +02:00
parent 76d2fd3665
commit d14816bae5

View File

@ -449,7 +449,8 @@ class CuraApplication(QtApplication):
for node in Selection.getAllSelectedObjects():
node.setParent(group_node)
group_node.setCenterPosition(group_node.getBoundingBox().center)
group_node.translate(Vector(0,group_node.getBoundingBox().center.y,0))
for node in group_node.getChildren():
Selection.remove(node)