Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-03-05 14:00:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-03-05 14:00:25 +0300
commitcaa0b0fadf928b4f34be8ce761ac342b72450bcb (patch)
tree132573d416c01499067aa59c21434d7b349d8f06 /source/blender/editors/space_clip/tracking_ops.c
parent63d8ccf9ffb18c8670292d8c57dbd85c629de485 (diff)
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
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops.c')
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c2
1 files changed, 1 insertions, 1 deletions
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;
}