Added some clarifying comments

This commit is contained in:
Jaime van Kessel 2015-09-14 13:42:36 +02:00
parent 3f580d97f9
commit 1b7bb76939

View file

@ -337,6 +337,7 @@ class CuraApplication(QtApplication):
if nodes:
op = GroupedOperation()
for node in nodes:
# Ensure that the object is above the build platform
move_distance = node.getBoundingBox().center.y
if move_distance <= 0:
move_distance = -node.getBoundingBox().bottom
@ -361,6 +362,7 @@ class CuraApplication(QtApplication):
op = GroupedOperation()
for node in nodes:
# Ensure that the object is above the build platform
move_distance = node.getBoundingBox().center.y
if move_distance <= 0:
move_distance = -node.getBoundingBox().bottom