- in Milling Plugin fixed the toolchange_xy and end_xy parameters not being used

This commit is contained in:
Marius Stanciu
2021-12-16 05:33:25 +02:00
committed by Marius
parent 2d1cf899e8
commit 0e4eb2631e
6 changed files with 43 additions and 21 deletions

View File

@@ -2437,7 +2437,7 @@ class AppExcEditor(QtCore.QObject):
for shape_exc in source_storage.get_objects():
geo_list = []
if isinstance(shape_exc.geo, MultiLineString):
for subgeo in shape_exc.geo:
for subgeo in shape_exc.geo.geoms:
geo_list.append(affinity.scale(subgeo, xfact=factor, yfact=factor, origin='center'))
new_geo = MultiLineString(geo_list)
elif isinstance(shape_exc.geo, Polygon):