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:
authorTon Roosendaal <ton@blender.org>2005-01-07 21:07:13 +0300
committerTon Roosendaal <ton@blender.org>2005-01-07 21:07:13 +0300
commit3e38a951dd46938c45489551b1c0164eb0e7d100 (patch)
tree907bd900355d4db8ef09f6b216ade180e53413e8 /source/blender/makesdna/DNA_sequence_types.h
parentac82b483807ac5d6b68d8f03dc955c03643c8a18 (diff)
Bug fix #2104
When using Sequencer for Alpha-Over images, it was assuming "Key" alpha by default, and converting images to "Premul" (= multiplying RGB with alpha). This isn't very nice, also because alpha generated by MBlur in Blender always is of type Premul already. Solution; make this an option. In the Nkey panel for strips you can set or disable Premul now. As extra also added the "Filter" and "Mul" options, as already there for Movie strips. Can easily be extended to more options for various postprocess effects.
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index bd4a02dd0b2..d8f53b7de7f 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -161,6 +161,7 @@ typedef struct GlowVars {
#define SEQ_OVERLAP 8
#define SEQ_FILTERY 16
#define SEQ_MUTE 32
+#define SEQ_MAKE_PREMUL 64
/* seq->type WATCH IT: BIT 3!!! */
#define SEQ_IMAGE 0