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:
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 56c240c3d20..53cbfbe5cdd 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -1865,6 +1865,10 @@ static bool is_track_clean(MovieTrackingTrack *track, int frames, int del)
}
}
+ if (count == 0) {
+ ok = 0;
+ }
+
if (del) {
MEM_freeN(track->markers);