- fixed an issue in Isolation Tool when running the app in Basic mode;

- fixed Paint, Isolation and NCC Tools such the translated comboboxes values are now stored as indexes instead of translated words as before
- in Geometry Object made sure that the widgets in the Tool Table gets populated regardless of encountering non-recognizable translated values
- in Paint Tool found a small bug and fixed it
This commit is contained in:
Marius Stanciu
2020-10-28 23:00:18 +02:00
committed by Marius
parent 735a20242a
commit 31a84bb4cc
15 changed files with 242 additions and 252 deletions

View File

@@ -348,7 +348,7 @@ class FlatCAMDefaults:
"geometry_polish_travelz": 2.0,
"geometry_polish_margin": 0.0,
"geometry_polish_overlap": 5,
"geometry_polish_method": _("Standard"),
"geometry_polish_method": 0,
# Geometry Editor
"geometry_editor_sel_limit": 30,
@@ -422,7 +422,7 @@ class FlatCAMDefaults:
"tools_iso_combine_passes": True,
"tools_iso_check_valid": False,
"tools_iso_isoexcept": False,
"tools_iso_selection": _("All"),
"tools_iso_selection": 0,
"tools_iso_poly_ints": False,
"tools_iso_force": True,
"tools_iso_area_shape": "square",
@@ -471,13 +471,13 @@ class FlatCAMDefaults:
"tools_ncc_operation": 'clear',
"tools_ncc_overlap": 40,
"tools_ncc_margin": 1.0,
"tools_ncc_method": _("Seed"),
"tools_ncc_method": 1, # SEED
"tools_ncc_connect": True,
"tools_ncc_contour": True,
"tools_ncc_rest": False,
"tools_ncc_offset_choice": False,
"tools_ncc_offset_value": 0.0000,
"tools_ncc_ref": _('Itself'),
"tools_ncc_ref": 0, # ITSELF
"tools_ncc_area_shape": "square",
"tools_ncc_milling_type": 'cl',
"tools_ncc_tool_type": 'C1',
@@ -509,8 +509,8 @@ class FlatCAMDefaults:
"tools_paint_order": 'rev',
"tools_paint_overlap": 20,
"tools_paint_offset": 0.0,
"tools_paint_method": _("Seed"),
"tools_paint_selectmethod": _("All"),
"tools_paint_method": 0,
"tools_paint_selectmethod": 0,
"tools_paint_area_shape": "square",
"tools_paint_connect": True,
"tools_paint_contour": True,