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:
authorPeter Schlaile <peter@schlaile.de>2006-11-10 01:23:09 +0300
committerPeter Schlaile <peter@schlaile.de>2006-11-10 01:23:09 +0300
commit57a2f7a5b569d1d0564c45e33eae1ebad3cd560b (patch)
tree94a9a2e2613423eccfdcbb68b7f929c344e42f5a /source/blender/blenloader
parent708e327b10195d9e711a55253402f7c374529d29 (diff)
== Sequencer ==
This adds support for "generator effect strips", which don't need necessarily an input strip and my version of Matt Ebb's [ #5035 ] 'Solid Color' sequence strip. TODO: With a little bit more tweaking it will be possible to make animated effect plugins and my still unfinished "Bake"-Strip. For the 'Solid Color'-Effect, to quote Matt: This is nice and simple, just provides a solid colour that's set in a colour picker in the properties popup. This is something we've needed for a long time, and I got totally sick of having to make 'black.png' and 'white.png' just to do fades, so I coded this.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/writefile.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 0e16706eb74..e92101e10e7 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -1258,15 +1258,18 @@ static void write_scenes(WriteData *wd, ListBase *scebase)
if(seq->plugin) writestruct(wd, DATA, "PluginSeq", 1, seq->plugin);
if(seq->effectdata) {
switch(seq->type){
- case SEQ_WIPE:
- writestruct(wd, DATA, "WipeVars", 1, seq->effectdata);
- break;
- case SEQ_GLOW:
- writestruct(wd, DATA, "GlowVars", 1, seq->effectdata);
- break;
- case SEQ_TRANSFORM:
- writestruct(wd, DATA, "TransformVars", 1, seq->effectdata);
- break;
+ case SEQ_COLOR:
+ writestruct(wd, DATA, "SolidColorVars", 1, seq->effectdata);
+ break;
+ case SEQ_WIPE:
+ writestruct(wd, DATA, "WipeVars", 1, seq->effectdata);
+ break;
+ case SEQ_GLOW:
+ writestruct(wd, DATA, "GlowVars", 1, seq->effectdata);
+ break;
+ case SEQ_TRANSFORM:
+ writestruct(wd, DATA, "TransformVars", 1, seq->effectdata);
+ break;
}
}