[Bf-blender-cvs] [5d6d5657928] blender2.8: VSE: Add image strips with alpha over as blend type

Pablo Vazquez noreply at git.blender.org
Sat Jul 14 00:12:38 CEST 2018


Commit: 5d6d565792819a3b4fe2bb39ab7d4ce70042453f
Author: Pablo Vazquez
Date:   Fri Jul 13 01:37:28 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5d6d565792819a3b4fe2bb39ab7d4ce70042453f

VSE: Add image strips with alpha over as blend type

===================================================================

M	source/blender/editors/space_sequencer/sequencer_add.c

===================================================================

diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index a8688b26280..5d2ceced904 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -879,6 +879,8 @@ static int sequencer_add_image_strip_exec(bContext *C, wmOperator *op)
 	strip = seq->strip;
 	se = strip->stripdata;
 
+	seq->blend_mode = SEQ_TYPE_ALPHAOVER;
+
 	if (use_placeholders) {
 		sequencer_image_seq_reserve_frames(op, se, seq_load.len, minframe, numdigits);
 	}



More information about the Bf-blender-cvs mailing list