mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Added some clarifying comments
This commit is contained in:
parent
3f580d97f9
commit
1b7bb76939
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue