Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-20 07:49:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-20 07:49:55 +0300
commit5dcabc4d5795522c145da5116d8aeac2db7ac8a6 (patch)
treee8779d7aa58ca3b087ba82774d7af40caf312f8e /source
parent79bd5174e47d75e19564da921867958eaad25243 (diff)
Fix T65770: File Browser missing "Sidebar" in View menu
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 561cbb2ec3a..0c7797326db 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -5489,6 +5489,8 @@ static void rna_def_space_filebrowser(BlenderRNA *brna)
RNA_def_struct_sdna(srna, "SpaceFile");
RNA_def_struct_ui_text(srna, "Space File Browser", "File browser space data");
+ rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_TOOLS) | (1 << RGN_TYPE_UI));
+
prop = RNA_def_property(srna, "params", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "params");
RNA_def_property_ui_text(