Fix T63772: Movie clip toggle toolbar fails

D4718 by @Gvgeo
This commit is contained in:
Campbell Barton 2019-04-23 10:00:48 +10:00
parent f2dc78f13f
commit ac53291e1f
Notes: blender-bot 2023-02-14 02:57:12 +01:00
Referenced by issue #63772, Movie Clip Editor fails to show/hide toolbar
1 changed files with 2 additions and 1 deletions

View 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);