From 3a7fff42b5d8c07c1cd17b69e5170c69c2d8c001 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Wed, 15 Aug 2018 09:14:37 +0200 Subject: [PATCH] Fix code style. Contributes to CURA-5628. --- cura/OneAtATimeIterator.py | 2 ++ 1 file changed, 2 insertions(+) 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],