diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-10 19:32:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-10 19:32:01 +0400 |
commit | f3d721aa93d4f669107667f4cfdc03b8907923d6 (patch) | |
tree | b52e9d73fb177a35694ea8eebf0c32a1cba64b01 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | 582aef8162d91c15f488250b796bf49471d2e0d4 (diff) |
minor changes to sequencer api
- rename seqelements.push(file) --> filename
- rename SoundSequence.waveform --> show_waveform
- dont pass context to sequencer functions. editing any scenes sequence can be done, irrespective of context.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index b039f9e6189..3791d0e1786 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -1561,7 +1561,7 @@ static void rna_def_sound(BlenderRNA *brna) "rna_Sequence_filepath_set"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_filepath_update"); - prop = RNA_def_property(srna, "waveform", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "show_waveform", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_AUDIO_DRAW_WAVEFORM); RNA_def_property_ui_text(prop, "Draw Waveform", "Whether to draw the sound's waveform"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL); |