Draft: reintroduced grid button in snap toolbar
This commit is contained in:
committed by
Yorik van Havre
parent
d59224a4be
commit
18cfafeed8
@@ -217,6 +217,9 @@ def init_draft_statusbar(sb):
|
||||
snap_gui_commands.remove('Draft_Snap_WorkingPlane')
|
||||
if 'Draft_Snap_Dimensions' in snap_gui_commands:
|
||||
snap_gui_commands.remove('Draft_Snap_Dimensions')
|
||||
if 'Draft_ToggleGrid' in snap_gui_commands:
|
||||
snap_gui_commands.remove('Draft_ToggleGrid')
|
||||
|
||||
Gui.Snapper.init_draft_snap_buttons(snap_gui_commands,snaps_menu, "_Statusbutton")
|
||||
Gui.Snapper.restore_snap_buttons_state(snaps_menu, "_Statusbutton")
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@ def get_draft_snap_commands():
|
||||
'Draft_Snap_Special', 'Draft_Snap_Near',
|
||||
'Draft_Snap_Ortho', 'Draft_Snap_Grid',
|
||||
'Draft_Snap_WorkingPlane', 'Draft_Snap_Dimensions',
|
||||
'Separator', 'Draft_ToggleGrid'
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user