[Bf-blender-cvs] [82f08cb2b06] master: Fix HUD toggle ("Adjust Last Operation") missing in VSE
Julian Eisel
noreply at git.blender.org
Mon Jan 27 11:05:40 CET 2020
Commit: 82f08cb2b066dc7719d95dea9a31fc92c089d2cb
Author: Julian Eisel
Date: Mon Jan 27 11:02:35 2020 +0100
Branches: master
https://developer.blender.org/rB82f08cb2b066dc7719d95dea9a31fc92c089d2cb
Fix HUD toggle ("Adjust Last Operation") missing in VSE
The `SpaceSequenceEditor.show_region_hud` property was not generated,
but accessed in Python.
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 5a671ab146c..746f9042dd8 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -4526,8 +4526,9 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
RNA_def_struct_sdna(srna, "SpaceSeq");
RNA_def_struct_ui_text(srna, "Space Sequence Editor", "Sequence editor space data");
- rna_def_space_generic_show_region_toggles(
- srna, (1 << RGN_TYPE_TOOL_HEADER) | (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_TOOLS));
+ rna_def_space_generic_show_region_toggles(srna,
+ (1 << RGN_TYPE_TOOL_HEADER) | (1 << RGN_TYPE_UI) |
+ (1 << RGN_TYPE_TOOLS) | (1 << RGN_TYPE_HUD));
/* view type, fairly important */
prop = RNA_def_property(srna, "view_type", PROP_ENUM, PROP_NONE);
More information about the Bf-blender-cvs
mailing list