UI: add entry to show/hide tool settings bar to the View menu
This commit is contained in:
@@ -81,6 +81,7 @@ class IMAGE_MT_view(Menu):
|
||||
|
||||
layout.prop(sima, "show_region_toolbar")
|
||||
layout.prop(sima, "show_region_ui")
|
||||
layout.prop(view, "show_region_tool_header")
|
||||
layout.prop(sima, "show_region_hud")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -954,6 +954,7 @@ class VIEW3D_MT_view(Menu):
|
||||
|
||||
layout.prop(view, "show_region_toolbar")
|
||||
layout.prop(view, "show_region_ui")
|
||||
layout.prop(view, "show_region_tool_header")
|
||||
layout.prop(view, "show_region_hud")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -2484,7 +2484,7 @@ static void rna_def_space_generic_show_region_toggles(StructRNA *srna, int regio
|
||||
|
||||
if (region_type_mask & (1 << RGN_TYPE_TOOL_HEADER)) {
|
||||
region_type_mask &= ~(1 << RGN_TYPE_TOOL_HEADER);
|
||||
DEF_SHOW_REGION_PROPERTY(show_region_tool_header, "Tool Header", "");
|
||||
DEF_SHOW_REGION_PROPERTY(show_region_tool_header, "Tool Settings", "");
|
||||
}
|
||||
if (region_type_mask & (1 << RGN_TYPE_HEADER)) {
|
||||
region_type_mask &= ~(1 << RGN_TYPE_HEADER);
|
||||
|
||||
Reference in New Issue
Block a user