- fixed an issue due of recent changes that made the application think that is run always for the first time; fixed not applying the selected language translation

- some more code is refactored in the Preferences
- the axis will now be drawn on the canvas as they were left in the previous run (just like the HUD and the Workspace)
- for processors with less than 4 cores now the default number of workers is 1 (changed from 2)
- some graphical settings go now directly to the defaults dictionary and will not pass through the `options` app dictionary
This commit is contained in:
Marius Stanciu
2022-02-20 22:32:54 +02:00
committed by Marius
parent 42c809c1ff
commit 72186cf8b8
11 changed files with 95 additions and 89 deletions

View File

@@ -87,7 +87,7 @@ class FlatCAMDefaults:
"global_log_verbose": 2,
"global_portable": False,
"global_languages": ['English', 'Romanian'],
"global_languages": ['English'],
"global_language_current": 'English',
"global_systray_icon": True,
@@ -95,7 +95,7 @@ class FlatCAMDefaults:
"global_project_at_startup": False,
"global_version_check": True,
"global_send_stats": True,
"global_worker_number": int((os.cpu_count()) / 2) if os.cpu_count() > 4 else 2,
"global_worker_number": int((os.cpu_count()) / 2) if os.cpu_count() > 4 else 1,
"global_tolerance": 0.005,
"global_save_compressed": True,