- in Isolation Plugin there is no longer auto-switch to Properties Tab

- when editing Geometry objects with multiple geometry fixed the issue with the edited geometry always being the one in the first tool
This commit is contained in:
Marius Stanciu
2021-11-06 01:15:14 +02:00
committed by Marius
parent 0a2a8cbe41
commit 67fa5596e1
5 changed files with 20 additions and 17 deletions

View File

@@ -958,9 +958,7 @@ class CutOut(AppTool):
geo_obj.tools[1]['data']['tools_mill_multidepth'] = self.ui.mpass_cb.get_value()
geo_obj.tools[1]['data']['tools_mill_depthperpass'] = self.ui.maxdepth_entry.get_value()
if not gaps_solid_geo:
pass
else:
if gaps_solid_geo:
geo_obj.tools[99] = deepcopy(self.cut_tool_dict)
geo_obj.tools[99]['tooldia'] = str(cut_dia)
geo_obj.tools[99]['solid_geometry'] = gaps_solid_geo

View File

@@ -1929,7 +1929,7 @@ class ToolIsolation(AppTool, Gerber):
self.temp_shapes.clear(update=True)
# Switch notebook to Properties page
self.app.ui.notebook.setCurrentWidget(self.app.ui.properties_tab)
# self.app.ui.notebook.setCurrentWidget(self.app.ui.properties_tab)
def combined_rest(self, iso_obj, iso2geo, tools_storage, lim_area, negative_dia=None, plot=True):
"""