Fix T47962: It's possible to set a Sound strip as a modifier Mask.
This commit is contained in:
parent
fb9315ce2a
commit
ce71e2e789
Notes:
blender-bot
2023-02-14 19:45:25 +01:00
Referenced by issue #47962, It's possible to set a Sound strip as a modifier Mask
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue