- wip Drilling Tool - fixed an issue with dropping the changes done in the UI

This commit is contained in:
Marius Stanciu
2021-01-28 21:04:21 +02:00
committed by Marius
parent 606d6f8dfb
commit de97d60b9a
2 changed files with 4 additions and 2 deletions

View File

@@ -1864,7 +1864,8 @@ class ToolDrilling(AppTool, Excellon):
return return
# update the Excellon Tools # update the Excellon Tools
self.excellon_tools = obj.tools # we don't do it here since it will break any changes we've done in the Drilling Tool UI
# self.excellon_tools = obj.tools
xmin = obj.options['xmin'] xmin = obj.options['xmin']
ymin = obj.options['ymin'] ymin = obj.options['ymin']

View File

@@ -3144,6 +3144,8 @@ class CNCjob(Geometry):
self.is_segmented_gcode = True self.is_segmented_gcode = True
self.exc_tools = deepcopy(tools) self.exc_tools = deepcopy(tools)
self.tool = str(tool)
t_gcode = '' t_gcode = ''
# holds the temporary coordinates of the processed drill point # holds the temporary coordinates of the processed drill point
@@ -3179,7 +3181,6 @@ class CNCjob(Geometry):
# ############# PARAMETERS used in PREPROCESSORS so they need to be updated ############################### # ############# PARAMETERS used in PREPROCESSORS so they need to be updated ###############################
# ######################################################################################################### # #########################################################################################################
# ######################################################################################################### # #########################################################################################################
self.tool = str(tool)
# Preprocessor # Preprocessor
p = self.pp_excellon p = self.pp_excellon