remove extra polygonize

This commit is contained in:
jan 2017-04-20 13:00:40 -07:00
parent 542da868c9
commit 2c159f2798

View File

@ -45,9 +45,6 @@ def write_dose2dtype(pattern: Pattern,
logical_unit=1, logical_unit=1,
physical_unit=meters_per_unit) physical_unit=meters_per_unit)
# Polygonize pattern
pattern.polygonize()
# Get a dict of id(pattern) -> pattern # Get a dict of id(pattern) -> pattern
patterns_by_id = {**(pattern.referenced_patterns_by_id()), id(pattern): pattern} patterns_by_id = {**(pattern.referenced_patterns_by_id()), id(pattern): pattern}