diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-06 15:34:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-06 15:34:18 +0400 |
commit | acc88c9772795ffcbca352710626f83a870148a1 (patch) | |
tree | 26b37049f1a5b4bd87dd02316288cf2f4526b384 /source/blender/makesrna/intern | |
parent | 880c43ad5a53203b64a6d6a51e239a4bfc6ed540 (diff) |
initial support for sequencer UI layout, anyone wants some monkey-work there are quite a few effects panels to do.
- buttons_context_path_sequencer() is a place holder
- ipo_frame_locked renamed to frame_locked
- added scene.sequence_editor.active_strip
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequence.c | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequence.c b/source/blender/makesrna/intern/rna_sequence.c index 302e7623b18..813a3bf39e8 100644 --- a/source/blender/makesrna/intern/rna_sequence.c +++ b/source/blender/makesrna/intern/rna_sequence.c @@ -308,9 +308,9 @@ static void rna_def_sequence(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_MUTE); RNA_def_property_ui_text(prop, "Mute", ""); - prop= RNA_def_property(srna, "ipo_frame_locked", PROP_BOOLEAN, PROP_NONE); + prop= RNA_def_property(srna, "frame_locked", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_IPO_FRAME_LOCKED); - RNA_def_property_ui_text(prop, "IPO Frame Locked", "Lock the IPO coordinates to the global frame counter."); + RNA_def_property_ui_text(prop, "Frame Locked", "Lock the animation curve to the global frame counter."); prop= RNA_def_property(srna, "lock", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_LOCK); @@ -385,6 +385,10 @@ void rna_def_editor(BlenderRNA *brna) RNA_def_property_struct_type(prop, "Sequence"); RNA_def_property_ui_text(prop, "Meta Stack", "Meta strip stack, last is currently edited meta strip."); RNA_def_property_collection_funcs(prop, 0, 0, 0, "rna_SequenceEdtior_meta_stack_get", 0, 0, 0); + + prop= RNA_def_property(srna, "active_strip", PROP_POINTER, PROP_NONE); + RNA_def_property_pointer_sdna(prop, NULL, "act_seq"); + RNA_def_property_ui_text(prop, "Active Strip", "Sequencers active strip"); } static void rna_def_filter_video(StructRNA *srna) diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 55c56beea7c..fc0cd36c1ad 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -488,6 +488,7 @@ static void rna_def_space_buttons(BlenderRNA *brna) {BCONTEXT_GAME, "GAME", "Game", ""}, {BCONTEXT_BONE, "BONE", "Bone", ""}, {BCONTEXT_MODIFIER, "MODIFIER", "Modifier", ""}, + {BCONTEXT_SEQUENCER, "SEQUENCER", "Sequencer", ""}, {0, NULL, NULL, NULL}}; static EnumPropertyItem panel_alignment_items[] = { |