Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-11 14:04:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-11 14:04:55 +0400
commit6ce6dfba1697adc01353cf6b0a608165e0b2b726 (patch)
treed731af5cd6d4028f8519957917a63bbb6ebf9a68 /source/blender/makesrna/intern/rna_sequencer_api.c
parent9d91bc38d303e4937bb56dc75d95f11936de5ff9 (diff)
- dont create scene.sequence_editor on read, means data-browser or autocomplete will allocate a sequencer.
... instead add scene.sequencer_editor_create / clear, these match id.animation_data_* functions. - refactor for names, for scene level functions call them BKE_sequencer_*
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c
index 01b5aee2dde..440d2e56bfe 100644
--- a/source/blender/makesrna/intern/rna_sequencer_api.c
+++ b/source/blender/makesrna/intern/rna_sequencer_api.c
@@ -330,7 +330,7 @@ static StripElem *rna_SequenceElements_push(Sequence *seq, Main *bmain, const ch
StripElem *se;
for (scene = bmain->scene.first; scene; scene = scene->id.next) {
- Editing *ed = seq_give_editing(scene, FALSE);
+ Editing *ed = BKE_sequencer_editing_get(scene, FALSE);
if (ed) {
for (seqn = ed->seqbase.first; seqn; seqn = seqn->next) {
if (seqn == seq)
@@ -362,7 +362,7 @@ static void rna_SequenceElements_pop(Sequence *seq, Main *bmain, ReportList *rep
}
for (scene = bmain->scene.first; scene; scene = scene->id.next) {
- Editing *ed = seq_give_editing(scene, FALSE);
+ Editing *ed = BKE_sequencer_editing_get(scene, FALSE);
if (ed) {
for (seqn = ed->seqbase.first; seqn; seqn = seqn->next) {
if (seqn == seq)