- fix an older issue that made that only the Custom choice created an effect when changing the Offset in the Geometry Object Tool Table

This commit is contained in:
Marius Stanciu
2020-11-03 02:47:41 +02:00
committed by Marius
parent 263ec736c3
commit b6d4d5e85f
3 changed files with 13 additions and 5 deletions

View File

@@ -2287,7 +2287,7 @@ class GeometryObject(FlatCAMObj, Geometry):
# current_uid = int(k)
# break
if dia_cnc_dict['offset'] == 'in':
if dia_cnc_dict['offset'].lower() == 'in':
tool_offset = -tooldia_val / 2
elif dia_cnc_dict['offset'].lower() == 'out':
tool_offset = tooldia_val / 2