- fixes in Drilling & Milling Tools for the error: "RuntimeError: wrapped C/C++ object of type ... has been deleted"
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
26.02.2021
|
||||||
|
|
||||||
|
- fixes in Drilling & Milling Tools for the error: "RuntimeError: wrapped C/C++ object of type ... has been deleted"
|
||||||
|
|
||||||
13.02.2021
|
13.02.2021
|
||||||
|
|
||||||
- fixed a bug in Transform Tool when calculating the point reference
|
- fixed a bug in Transform Tool when calculating the point reference
|
||||||
|
|||||||
@@ -176,9 +176,10 @@ class ToolDrilling(AppTool, Excellon):
|
|||||||
if self.app.ui.splitter.sizes()[0] == 0:
|
if self.app.ui.splitter.sizes()[0] == 0:
|
||||||
self.app.ui.splitter.setSizes([1, 1])
|
self.app.ui.splitter.setSizes([1, 1])
|
||||||
|
|
||||||
|
self.set_tool_ui()
|
||||||
|
|
||||||
AppTool.run(self)
|
AppTool.run(self)
|
||||||
|
|
||||||
self.set_tool_ui()
|
|
||||||
self.on_object_changed()
|
self.on_object_changed()
|
||||||
# self.build_tool_ui()
|
# self.build_tool_ui()
|
||||||
|
|
||||||
|
|||||||
@@ -175,10 +175,10 @@ class ToolMilling(AppTool, Excellon):
|
|||||||
if self.app.ui.splitter.sizes()[0] == 0:
|
if self.app.ui.splitter.sizes()[0] == 0:
|
||||||
self.app.ui.splitter.setSizes([1, 1])
|
self.app.ui.splitter.setSizes([1, 1])
|
||||||
|
|
||||||
AppTool.run(self)
|
|
||||||
|
|
||||||
self.set_tool_ui()
|
self.set_tool_ui()
|
||||||
|
|
||||||
|
AppTool.run(self)
|
||||||
|
|
||||||
# reset those objects on a new run
|
# reset those objects on a new run
|
||||||
self.target_obj = None
|
self.target_obj = None
|
||||||
self.obj_name = ''
|
self.obj_name = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user