- changed the name of the new object FlatCAMNotes to a more general one FlatCAMDocument
- changed the way a new FlatCAMScript object is made, the method that is processing the Tcl commands when the Run button is clicked is moved to the FlatCAMObj.FlatCAMScript() class - reused the Multiprocessing Pool declared in the App for the ToolRulesCheck() class - adapted the Project context menu for the new types of FLatCAM objects - modified the setup_recent_files to accommodate the new FlatCAM objects - made sure that when an FlatCAM script object is deleted, it's associated Tab is closed
This commit is contained in:
@@ -486,7 +486,7 @@ class RulesCheck(FlatCAMTool):
|
||||
self.constrain_flag = False
|
||||
|
||||
# Multiprocessing Process Pool
|
||||
self.pool = Pool(processes=cpu_count())
|
||||
self.pool = self.app.pool
|
||||
self.results = None
|
||||
|
||||
# def on_object_loaded(self, index, row):
|
||||
|
||||
Reference in New Issue
Block a user