- 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

@@ -348,7 +348,7 @@ class GeometryObject(FlatCAMObj, Geometry):
# following convoluted way of changing the keys from string to float type
temp_tools = {}
for tooluid_key in self.tools:
val = deepcopy(self.tools[tooluid_key])
val = deepcopy(self.tools[int(tooluid_key)])
new_key = deepcopy(int(tooluid_key))
temp_tools[new_key] = val
@@ -394,10 +394,15 @@ class GeometryObject(FlatCAMObj, Geometry):
self.set_offset_values()
self.ui.geo_tools_table.itemSelectionChanged.connect(self.on_row_changed)
# Show/Hide Advanced Options
app_mode = self.app.defaults["global_app_level"]
self.change_level(app_mode)
def on_row_changed(self):
pass
def set_offset_values(self):
xmin, ymin, xmax, ymax = self.bounds()
center_coords = (