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-19 13:35:46 +0300
commit852d63b8355cd4f80e67a32ad2bbe24e47c143c2 (patch)
treeedd843396b03a0272368a9e687356754a3f9895c
parent8ec398d401dff112f5469f7dafe6afab5efd8bfa (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
-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 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;
}