- fixed the Move Plugin to use the new setting of outline for the selection shape

This commit is contained in:
Marius Stanciu
2022-05-19 15:36:22 +03:00
committed by Marius
parent 054a812f7b
commit c0ff26db13
2 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ CHANGELOG for FlatCAM Evo beta
19.05.2022 19.05.2022
- added a new setting that control the selection shape creation, in the Preferences. If the checkbox Selection Outline is checked then the selection shape is only an outline. - added a new setting that control the selection shape creation, in the Preferences. If the checkbox Selection Outline is checked then the selection shape is only an outline.
- fixed the Move Plugin to use the new setting of outline for the selection shape
18.05.2022 18.05.2022

View File

@@ -340,6 +340,9 @@ class ToolMove(AppTool):
# face = Color('blue') # face = Color('blue')
# face.alpha = 0.2 # face.alpha = 0.2
if self.app.options['global_selection_shape_as_line'] is True:
proc_shape = proc_shape.exterior
face = '#0000FF' + str(hex(int(0.2 * 255)))[2:] face = '#0000FF' + str(hex(int(0.2 * 255)))[2:]
outline = '#0000FFAF' outline = '#0000FFAF'