- another fix to make the app save correctly the CNCJob objects when saving a project

This commit is contained in:
Marius Stanciu
2022-03-20 21:46:16 +02:00
committed by Marius
parent 80144ed899
commit 8f1e9fd740
3 changed files with 5 additions and 2 deletions

View File

@@ -149,6 +149,8 @@ class CNCJobObject(FlatCAMObj, CNCjob):
# (like the one in the TCL Command), False
self.multitool = False
self.multigeo = False
self.coords_decimals = 4
self.fr_decimals = 2
@@ -196,7 +198,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
# from predecessors.
self.ser_attrs += [
'obj_options', 'kind', 'tools', 'multitool', 'append_snippet', 'prepend_snippet', 'gc_header', 'gc_start',
'multigeo', 'travel_distance', 'routing_time', 'used_tools'
'multigeo', 'used_tools'
]
# this is used, so we don't recreate the GCode for loaded objects in set_ui(), it is already there