Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Mar 2018 11:00:25 +0000 (12:00 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Mar 2018 11:00:25 +0000 (12:00 +0100)
A mistake in a fix for T53612.

Regression in 2.79a, candidate for 2.79b :S

source/blender/editors/space_clip/tracking_ops.c

index 2ec4f96..50f21c8 100644 (file)
@@ -1858,7 +1858,7 @@ static bool is_track_clean(MovieTrackingTrack *track, int frames, int del)
                }
        }
 
-       if (count == 0) {
+       if (del && count == 0) {
                ok = 0;
        }