From ade65870c6b736298d131282b9b1226f21024751 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 10 Sep 2015 11:07:03 +0200 Subject: [PATCH] Scale is now taken into account for merging. Fixes Ultimaker/Cura#359 --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index e13b5b58a9..1d06c9db6c 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -434,7 +434,7 @@ class CuraApplication(QtApplication): # Reset the position of each node for node in group_node.getChildren(): new_position = node.getMeshData().getCenterPosition() - #new_position.setY(0) + new_position = new_position.scale(node.getScale()) node.setPosition(new_position) # Use the previously found center of the group bounding box as the new location of the group