[Bf-blender-cvs] [361fc09] master: Allow using strips from the top of the stack as modifier arguments

Sergey Sharybin noreply at git.blender.org
Thu Feb 20 08:53:20 CET 2014


Commit: 361fc09792f12b2efc164e5e4d16789f7659d871
Author: Sergey Sharybin
Date:   Thu Feb 20 13:36:07 2014 +0600
https://developer.blender.org/rB361fc09792f12b2efc164e5e4d16789f7659d871

Allow using strips from the top of the stack as modifier arguments

Poll function tried to be smart and disallow having dependency cycles,
but it didn't work properly. Further, it still possible to re-shuffle
strips stack in the way which introduces dependency cycles.

So disabled this smartness in the poll function for now.

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

M	source/blender/makesrna/intern/rna_sequencer.c

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

diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 689406f..2506f57 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -996,9 +996,6 @@ static int rna_SequenceModifier_otherSequence_poll(PointerRNA *ptr, PointerRNA v
 	if (seq == cur)
 		return FALSE;
 
-	if (BKE_sequence_check_depend(seq, cur))
-		return FALSE;
-
 	return TRUE;
 }




More information about the Bf-blender-cvs mailing list