Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-08-15 10:14:37 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-08-15 10:14:37 +0300
commit3a7fff42b5d8c07c1cd17b69e5170c69c2d8c001 (patch)
treefac1291b67fdf264b672252dd760ec9a3c713bf9 /cura/OneAtATimeIterator.py
parentebb031727626edac6c734a26599be6a89ae8d434 (diff)
Fix code style.
Contributes to CURA-5628.
Diffstat (limited to 'cura/OneAtATimeIterator.py')
-rw-r--r--cura/OneAtATimeIterator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cura/OneAtATimeIterator.py b/cura/OneAtATimeIterator.py
index e7ad833e1c..a08f3ed2bf 100644
--- a/cura/OneAtATimeIterator.py
+++ b/cura/OneAtATimeIterator.py
@@ -76,6 +76,8 @@ class OneAtATimeIterator(Iterator):
continue
bounding_box = node.getBoundingBox()
+ if not bounding_box:
+ continue
from UM.Math.Polygon import Polygon
bounding_box_polygon = Polygon([[bounding_box.left, bounding_box.front],
[bounding_box.left, bounding_box.back],