diff --git a/masque/shapes/shape.py b/masque/shapes/shape.py index 2a106fd..a188ef5 100644 --- a/masque/shapes/shape.py +++ b/masque/shapes/shape.py @@ -123,7 +123,7 @@ class Shape(PositionableImpl, LayerableImpl, DoseableImpl, Rotatable, Mirrorable polygon_contours = [] for polygon in self.to_polygons(): bounds = polygon.get_bounds() - if not bounds: + if bounds is None: continue mins, maxs = bounds