Draft: Small cleanup of Utilities menu and utility toolbar

Removed from the Utilities menu because they already occur in the Modification menu:
Draft_FlipDimension
Draft_Edit
Draft_Slope

Removed from the Utilities menu because calling the command from there instead of from the Draft Tray does not make sense:
Draft_AutoGroup

Removed from the "Draft utility tools" toolbar because the command is very rarely used:
Draft_Heal
This commit is contained in:
Roy-043
2021-06-22 11:54:48 +02:00
committed by GitHub
parent 438895a3be
commit 3a8d9a2738

View File

@@ -66,8 +66,7 @@ def get_draft_small_commands():
"Draft_ToggleDisplayMode",
"Draft_AddToGroup",
"Draft_SelectGroup",
"Draft_AddConstruction",
"Draft_Heal"]
"Draft_AddConstruction"]
def get_draft_modification_commands():
@@ -97,8 +96,7 @@ def get_draft_context_commands():
return ["Draft_ApplyStyle", "Draft_ToggleDisplayMode",
"Draft_AddToGroup", "Draft_SelectGroup",
"Draft_SelectPlane", "Draft_ShowSnapBar",
"Draft_ToggleGrid", "Draft_AutoGroup",
"Draft_SetStyle"]
"Draft_ToggleGrid", "Draft_SetStyle"]
def get_draft_line_commands():
@@ -109,10 +107,11 @@ def get_draft_line_commands():
def get_draft_utility_commands():
"""Return the utility commands list."""
return ["Draft_Layer", "Draft_Heal", "Draft_FlipDimension",
return ["Draft_Layer",
"Draft_Heal",
"Draft_ToggleConstructionMode",
"Draft_ToggleContinueMode", "Draft_Edit",
"Draft_Slope", "Draft_WorkingPlaneProxy",
"Draft_ToggleContinueMode",
"Draft_WorkingPlaneProxy",
"Draft_AddConstruction"]