Fix T47962: It's possible to set a Sound strip as a modifier Mask.
This commit is contained in:
@@ -1027,8 +1027,9 @@ static int rna_SequenceModifier_otherSequence_poll(PointerRNA *ptr, PointerRNA v
|
|||||||
Sequence *seq = sequence_get_by_modifier(ed, ptr->data);
|
Sequence *seq = sequence_get_by_modifier(ed, ptr->data);
|
||||||
Sequence *cur = (Sequence *) value.data;
|
Sequence *cur = (Sequence *) value.data;
|
||||||
|
|
||||||
if (seq == cur)
|
if ((seq == cur) || (cur->type == SEQ_TYPE_SOUND_RAM)) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user