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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-03-27 14:01:58 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-03-27 14:02:43 +0300
commitce71e2e78965b85b122b995f358cbfd26ce3622b (patch)
treeea3c11af5e08a404b74b26f059b4593da62dc699 /source/blender/makesrna/intern/rna_sequencer.c
parentfb9315ce2ad762c1bd09f38d2f62db2341469aa9 (diff)
Fix T47962: It's possible to set a Sound strip as a modifier Mask.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index fae0d1c80ff..856dc8bfb0d 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -1027,8 +1027,9 @@ static int rna_SequenceModifier_otherSequence_poll(PointerRNA *ptr, PointerRNA v
Sequence *seq = sequence_get_by_modifier(ed, ptr->data);
Sequence *cur = (Sequence *) value.data;
- if (seq == cur)
+ if ((seq == cur) || (cur->type == SEQ_TYPE_SOUND_RAM)) {
return false;
+ }
return true;
}