mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:18:59 +08:00
Added some clarifying comments
This commit is contained in:
parent
3f580d97f9
commit
1b7bb76939
@ -337,6 +337,7 @@ class CuraApplication(QtApplication):
|
|||||||
if nodes:
|
if nodes:
|
||||||
op = GroupedOperation()
|
op = GroupedOperation()
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
|
# Ensure that the object is above the build platform
|
||||||
move_distance = node.getBoundingBox().center.y
|
move_distance = node.getBoundingBox().center.y
|
||||||
if move_distance <= 0:
|
if move_distance <= 0:
|
||||||
move_distance = -node.getBoundingBox().bottom
|
move_distance = -node.getBoundingBox().bottom
|
||||||
@ -361,6 +362,7 @@ class CuraApplication(QtApplication):
|
|||||||
op = GroupedOperation()
|
op = GroupedOperation()
|
||||||
|
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
|
# Ensure that the object is above the build platform
|
||||||
move_distance = node.getBoundingBox().center.y
|
move_distance = node.getBoundingBox().center.y
|
||||||
if move_distance <= 0:
|
if move_distance <= 0:
|
||||||
move_distance = -node.getBoundingBox().bottom
|
move_distance = -node.getBoundingBox().bottom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user