From d14816bae517577d7d7324be856bccabc8cde24b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 11 Sep 2015 13:49:16 +0200 Subject: [PATCH] Center of group node is now on correct position. Fixes Ultimaker/Cura#378 --- cura/CuraApplication.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 811e879207..719f9dac7e 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -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)