- fixed an error in the Subtract Plugin when working on Geometry objects

This commit is contained in:
Marius Stanciu
2021-03-28 21:48:50 +03:00
committed by Marius Stanciu
parent b790f36282
commit cc8cf4ecbb
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ CHANGELOG for FlatCAM beta
- minor logging changes - minor logging changes
- created a new category in Preferences where only the Engraving Related preferences are located - created a new category in Preferences where only the Engraving Related preferences are located
- added a new set of options in the Preferences for the Milling Plugin by taking them out of the Geometry section - added a new set of options in the Preferences for the Milling Plugin by taking them out of the Geometry section
- fixed an error in the Subtract Plugin when working on Geometry objects
22.03.2021 22.03.2021

View File

@@ -530,7 +530,7 @@ class ToolSub(AppTool):
# crate the new_tools dict structure # crate the new_tools dict structure
for tool in self.target_geo_obj.tools: for tool in self.target_geo_obj.tools:
self.new_tools[tool] = {} self.new_tools[tool] = {}
for key, v in self.target_geo_obj.tools[tool]: for key, v in self.target_geo_obj.tools[tool].items():
self.new_tools[tool][key] = [] if key == 'solid_geometry' else deepcopy(v) self.new_tools[tool][key] = [] if key == 'solid_geometry' else deepcopy(v)
# add the promises # add the promises