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:
2018-01-08 14:10:50 +01:00
parent 96e507d989
commit 3ee2ed3049

View File

@@ -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);