Commit: 3ee2ed3049b9860c03084876bd96641b2f1cf5f4 Author: Sergey Sharybin Date: Mon Jan 8 14:10:50 2018 +0100 Branches: master https://developer.blender.org/rB3ee2ed3049b9860c03084876bd96641b2f1cf5f4
Fix T53612: Blender crashes on CleanTracks with 'DELETE_SEGMENTS' and a disabled marker Simple fix, which is totally safe for 2.79a! =================================================================== M source/blender/editors/space_clip/tracking_ops.c =================================================================== diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index db891dba294..2ec4f96931f 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs