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:
authorAlexander Ewering <blender@instinctive.de>2003-08-05 17:39:27 +0400
committerAlexander Ewering <blender@instinctive.de>2003-08-05 17:39:27 +0400
commitd3e2e5e660fd4dbf93cf1041e73a06dd4fc2a52b (patch)
treea32e151e424ee614dd61079b0d8c32a1e0e239d6
parentbabd29f1dfbcdabe57576121307ed7fa09d7d8fb (diff)
Fix volume envelopes for audio strips, they now work in all spaces.
-rw-r--r--source/blender/blenkernel/intern/ipo.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c
index e828f6e887a..cf7ad67d179 100644
--- a/source/blender/blenkernel/intern/ipo.c
+++ b/source/blender/blenkernel/intern/ipo.c
@@ -1601,6 +1601,8 @@ void do_all_ipos()
Lamp *la;
Camera *ca;
bSound *snd;
+ Sequence *seq;
+ Editing *ed;
float ctime;
int set;
@@ -1690,6 +1692,18 @@ void do_all_ipos()
base= base->next;
}
}
+
+ /* intrr: process FAC Ipos used as volume envelopes */
+ ed= G.scene->ed;
+ if (ed) {
+ seq= ed->seqbasep->first;
+ while(seq) {
+ if ((seq->type == SEQ_SOUND) && (seq->ipo)
+ &&(seq->startdisp<=G.scene->r.cfra+2) && (seq->enddisp>G.scene->r.cfra)) do_seq_ipo(seq);
+ seq= seq->next;
+ }
+ }
+
}