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>2011-12-30 22:15:44 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-30 22:15:44 +0400
commit792452a7e53aa92361145e415491943bc91d8a6e (patch)
treea98180e7bb849ae8ef75a12187caf7548075716c /source/blender/editors
parent3c6e818b22ed9153604cfb87476845416112b7d8 (diff)
Disable markers when doing frame-by-frame tracking and tracker library returns failure
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 3f20ab9ea30..2178d6d9cc6 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -1297,7 +1297,7 @@ static int track_markers_initjob(bContext *C, TrackMarkersJob *tmj, int backward
else if(settings->speed==TRACKING_SPEED_DOUBLE) tmj->delay/= 2;
}
- tmj->context= BKE_tracking_context_new(clip, &sc->user, backwards, 1, 1);
+ tmj->context= BKE_tracking_context_new(clip, &sc->user, backwards, 1);
clip->tracking_context= tmj->context;
@@ -1408,7 +1408,7 @@ static int track_markers_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
/* do not disable tracks due to threshold when tracking frame-by-frame */
- context= BKE_tracking_context_new(clip, &sc->user, backwards, sequence, sequence);
+ context= BKE_tracking_context_new(clip, &sc->user, backwards, sequence);
while(framenr != efra) {
if(!BKE_tracking_next(context))