Fix T63772: Movie clip toggle toolbar fails
authorCampbell Barton <ideasman42@gmail.com>
Tue, 23 Apr 2019 00:00:48 +0000 (10:00 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 23 Apr 2019 00:00:48 +0000 (10:00 +1000)
D4718 by @Gvgeo

source/blender/makesrna/intern/rna_space.c

index 39baf84..5ddb1d7 100644 (file)
@@ -5902,7 +5902,8 @@ static void rna_def_space_clip(BlenderRNA *brna)
   RNA_def_struct_sdna(srna, "SpaceClip");
   RNA_def_struct_ui_text(srna, "Space Clip Editor", "Clip editor space data");
 
-  rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD));
+  rna_def_space_generic_show_region_toggles(
+      srna, (1 << RGN_TYPE_TOOLS) | (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD));
 
   /* movieclip */
   prop = RNA_def_property(srna, "clip", PROP_POINTER, PROP_NONE);