- in Excellon Editor and Geometry Editor solved some Shapely 2.0 deprecation warnings

- in Excellon Editor made sure that the tool diameter is always updated before adding a new drill (or drill array)
- changing units is not possible while in Editors
- changing units outside the Preferences will make no permanent changes
- deleting all shapes from the shapes collection (OpenGl graphics) will reset also the index in the collection data dict
This commit is contained in:
Marius Stanciu
2021-09-26 21:21:49 +03:00
committed by Marius
parent 33f5749a7f
commit 0cee20a6d9
10 changed files with 202 additions and 195 deletions

View File

@@ -24,6 +24,7 @@ class FlatCAMDefaults:
factory_defaults = {
# Global
"units": "MM",
"version": 8.992, # defaults format version, not necessarily equal to app version
"first_run": True,
"root_folder_path": '',
@@ -78,7 +79,6 @@ class FlatCAMDefaults:
"global_tcl_path": '',
# General APP Preferences
"units": "MM",
"decimals_inch": 4,
"decimals_metric": 4,
"global_graphic_engine": '3D',