Scale is now taken into account for merging.

Fixes Ultimaker/Cura#359
This commit is contained in:
Jaime van Kessel 2015-09-10 11:07:03 +02:00
parent 98ee8cab85
commit ade65870c6

View file

@ -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