[Bf-blender-cvs] [caa0b0fadf9] master: Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)

Sergey Sharybin noreply at git.blender.org
Mon Mar 5 12:02:47 CET 2018


Commit: caa0b0fadf928b4f34be8ce761ac342b72450bcb
Author: Sergey Sharybin
Date:   Mon Mar 5 12:00:25 2018 +0100
Branches: master
https://developer.blender.org/rBcaa0b0fadf928b4f34be8ce761ac342b72450bcb

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 2ec4f96931f..50f21c8891c 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -1858,7 +1858,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