This commit is contained in:
jan 2017-11-12 19:57:24 -08:00
parent 0fd0e259aa
commit 2ca27b0792

View File

@ -277,7 +277,7 @@ def read(filename: str,
else: else:
shape = Polygon(vertices=element.xy[:-1], shape = Polygon(vertices=element.xy[:-1],
layer=(element.layer, element.data_type)) layer=(element.layer, element.data_type))
if do_clean: if clean_vertices:
try: try:
shape.clean_vertices() shape.clean_vertices()
except PatternError: except PatternError: