Explorar o código

Merged in tomduffin/flatcam (pull request #18)

Fixes #135
jpcgt %!s(int64=10) %!d(string=hai) anos
pai
achega
45c7f8efab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      camlib.py

+ 1 - 1
camlib.py

@@ -379,7 +379,7 @@ class Geometry(object):
         """
 
         log.debug("camlib.clear_polygon()")
-        assert type(polygon) == Polygon
+        assert type(polygon) == Polygon or type(polygon) == MultiPolygon
 
         ## The toolpaths
         # Index first and last points in paths