Fix T53612: Blender crashes on CleanTracks with 'DELETE_SEGMENTS' and a disabled marker
Simple fix, which is totally safe for 2.79a!
This commit is contained in:
parent
96e507d989
commit
3ee2ed3049
Notes:
blender-bot
2023-02-14 06:18:31 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #53612, Blender crashes on CleanTracks with 'DELETE_SEGMENTS' and a disabled marker
|
@ -1858,6 +1858,10 @@ static bool is_track_clean(MovieTrackingTrack *track, int frames, int del)
|
|||
}
|
||||
}
|
||||
|
||||
if (count == 0) {
|
||||
ok = 0;
|
||||
}
|
||||
|
||||
if (del) {
|
||||
MEM_freeN(track->markers);
|
||||
|
||||
|
|
Loading…
Reference in New Issue