Fix #110161: Crash on dragging a Speaker NLA strip #110605
|
@ -1969,13 +1969,13 @@ static bool nlastrip_validate_transition_start_end(ListBase *strips, NlaStrip *s
|
|||
if (!(strip->type == NLASTRIP_TYPE_TRANSITION)) {
|
||||
return true;
|
||||
}
|
||||
if (strip->prev) {
|
||||
if (strip->prev) {
|
||||
strip->start = strip->prev->end;
|
||||
}
|
||||
if (strip->next) {
|
||||
strip->end = strip->next->start;
|
||||
}
|
||||
if (strip->start >= strip->end) {
|
||||
if (strip->start >= strip->end || strip->prev == nullptr || strip->next == nullptr) {
|
||||
BKE_nlastrip_remove_and_free(strips, strip, true);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue