- in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state)
- the HUD display is no longer default active on new installations
This commit is contained in:
@@ -11,11 +11,13 @@ CHANGELOG for FlatCAM Evo beta
|
||||
|
||||
- a minor fix in the Plotcanvas() class
|
||||
- fixed the OR-tools path optimization (it required now a cast to int when creating the distances' matrix)
|
||||
- in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state)
|
||||
- the HUD display is no longer default active on new installations
|
||||
|
||||
29.03.2022
|
||||
|
||||
- added ability to change the mouse cursor color on the fly
|
||||
- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations)
|
||||
- in Distance Plugin made sure that the 'big cursor' (when is used) is black (visible in most situations)
|
||||
- in Distance Plugin, for the 2D graphic mode activated the utility line
|
||||
- in Distance Plugin, fixed the `Snap to center` feature to work as intended
|
||||
|
||||
|
||||
@@ -184,8 +184,7 @@ class Distance(AppTool):
|
||||
self.app.ui.grid_snap_btn.trigger()
|
||||
self.app.ui.grid_snap_btn.trigger()
|
||||
|
||||
if self.app.ui.grid_snap_btn.isChecked():
|
||||
self.grid_status_memory = True
|
||||
self.grid_status_memory = True if self.app.ui.grid_snap_btn.isChecked() else False
|
||||
|
||||
# initial view of the layout
|
||||
self.initial_view()
|
||||
@@ -337,8 +336,7 @@ class Distance(AppTool):
|
||||
self.app.plotcanvas.cursor_color = self.cursor_color_memory
|
||||
|
||||
# restore the grid status
|
||||
if (self.app.ui.grid_snap_btn.isChecked() and self.grid_status_memory is False) or \
|
||||
(not self.app.ui.grid_snap_btn.isChecked() and self.grid_status_memory is True):
|
||||
if self.app.ui.grid_snap_btn.isChecked() != self.grid_status_memory:
|
||||
self.app.ui.grid_snap_btn.trigger()
|
||||
|
||||
if self.tool_done is False:
|
||||
|
||||
@@ -140,7 +140,7 @@ class AppDefaults:
|
||||
"global_workspace_orientation": 'p',
|
||||
"global_axis": True,
|
||||
"global_axis_color": '#B34D4D',
|
||||
"global_hud": True,
|
||||
"global_hud": False,
|
||||
"global_grid_lines": True,
|
||||
"global_grid_snap": True,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user