- fixed offset after editing drill diameters in Excellon Editor.

This commit is contained in:
Marius Stanciu
2019-04-04 21:22:45 +03:00
parent f43bed8c66
commit b9a4981cd0
2 changed files with 3 additions and 1 deletions

View File

@@ -1536,7 +1536,8 @@ class FlatCAMExcEditor(QtCore.QObject):
for shape in self.storage_dict[dia_changed].get_objects():
geometry.append(DrawToolShape(
MultiLineString([affinity.scale(subgeo, xfact=factor, yfact=factor) for subgeo in shape.geo])))
MultiLineString([affinity.scale(subgeo, xfact=factor, yfact=factor, origin='center')
for subgeo in shape.geo])))
# add bogus drill points (for total count of drills)
for k, v in self.olddia_newdia.items():