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