mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix code-style
This commit is contained in:
parent
e983a9a9e7
commit
762a1b1bfd
13 changed files with 47 additions and 33 deletions
|
@ -97,8 +97,9 @@ class Arrange:
|
|||
|
||||
# Ensure that the object is above the build platform
|
||||
node.removeDecorator(ZOffsetDecorator.ZOffsetDecorator)
|
||||
if node.getBoundingBox():
|
||||
center_y = node.getWorldPosition().y - node.getBoundingBox().bottom
|
||||
bbox = node.getBoundingBox()
|
||||
if bbox:
|
||||
center_y = node.getWorldPosition().y - bbox.bottom
|
||||
else:
|
||||
center_y = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue