[Bf-blender-cvs] [603392e] terrible_consequencer: Allow trimming scenes as well.

Antony Riakiotakis noreply at git.blender.org
Thu Sep 4 15:52:07 CEST 2014


Commit: 603392e5870e9379c8855a5ed27f0de85c4d36b0
Author: Antony Riakiotakis
Date:   Thu Sep 4 15:51:55 2014 +0200
Branches: terrible_consequencer
https://developer.blender.org/rB603392e5870e9379c8855a5ed27f0de85c4d36b0

Allow trimming scenes as well.

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

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

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

diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 209380e..ca34866 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1759,7 +1759,7 @@ static int sequencer_trim_invoke(bContext *C, wmOperator *op, const wmEvent *eve
 static bool sequencer_trim(Scene *scene, Sequence *seq, int offset, int old_start)
 {
 	/* only data types supported for now */
-	if ((offset != 0) && !(seq->type & SEQ_TYPE_EFFECT) && !ELEM(seq->type, SEQ_TYPE_META, SEQ_TYPE_SCENE)) {
+	if ((offset != 0) && !(seq->type & SEQ_TYPE_EFFECT) && (seq->type != SEQ_TYPE_META)) {
 		int endframe;
 		Editing *ed = BKE_sequencer_editing_get(scene, false);
 		/* we have the offset, do the terrible math */




More information about the Bf-blender-cvs mailing list