[Bf-blender-cvs] [852d63b8355] blender-v2.79b-release: Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)

Sergey Sharybin noreply at git.blender.org
Mon Mar 19 11:37:45 CET 2018


Commit: 852d63b8355cd4f80e67a32ad2bbe24e47c143c2
Author: Sergey Sharybin
Date:   Mon Mar 5 12:00:25 2018 +0100
Branches: blender-v2.79b-release
https://developer.blender.org/rB852d63b8355cd4f80e67a32ad2bbe24e47c143c2

Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)

A mistake in a fix for T53612.

Regression in 2.79a, candidate for 2.79b :S

===================================================================

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 53cbfbe5cdd..ac4dcf94872 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -1865,7 +1865,7 @@ static bool is_track_clean(MovieTrackingTrack *track, int frames, int del)
 		}
 	}
 
-	if (count == 0) {
+	if (del && count == 0) {
 		ok = 0;
 	}



More information about the Bf-blender-cvs mailing list