Duplication now takes sunk into bottom into account.

Fixes Ultimaker/Cura#286
This commit is contained in:
Jaime van Kessel 2015-08-24 14:37:20 +02:00
parent b587be273f
commit ed24f5e451

View file

@ -265,7 +265,7 @@ class CuraApplication(QtApplication):
new_node = SceneNode()
new_node.setMeshData(node.getMeshData())
new_node.translate(Vector((i + 1) * node.getBoundingBox().width, 0, 0))
new_node.translate(Vector((i + 1) * node.getBoundingBox().width, node.getPosition().y, 0))
new_node.setOrientation(node.getOrientation())
new_node.setScale(node.getScale())
new_node.setSelectable(True)