Don't pass SHAPE_POLY_SET.PM_FAST as a 2nd parameter into poly_set operations
This commit is contained in:
1 parent
b85d6f1d72
commit
4ead74b511
1 file changed
+2
-2
@@ -452,8 +452,8 @@ STEP = '-'
|
||||
if poly_set is None:
|
||||
poly_set = poly_set_layer
|
||||
else:
|
||||
poly_set.BooleanIntersection(poly_set_layer, SHAPE_POLY_SET.PM_FAST)
|
||||
poly_set.Simplify(SHAPE_POLY_SET.PM_FAST)
|
||||
poly_set.BooleanIntersection(poly_set_layer)
|
||||
poly_set.Simplify()
|
||||
|
||||
if poly_set.OutlineCount() == 0:
|
||||
wxPrint("No areas to fill")
|
||||
|
||||
Reference in new issue
Block a user