Fix arranger crash

This commit is contained in:
Jaime van Kessel 2020-01-15 11:29:27 +01:00
parent 2a28321588
commit 290761fccd
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -69,7 +69,7 @@ class Arrange:
points = copy.deepcopy(vertices._points)
# After scaling (like up to 0.1 mm) the node might not have points
if not points:
if not points.size:
continue
shape_arr = ShapeArray.fromPolygon(points, scale = scale)