diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-07 15:02:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-07 15:02:34 +0400 |
commit | dbc9227a3247e2138f964b1687e3467f3f4b9741 (patch) | |
tree | 0e436257684ca11abbc3cc020058514a660fbc62 /source/blender/editors/space_clip | |
parent | f354d44cbad105fc63c64c2cb243c4ceaa8d0ef0 (diff) |
Disable markers when doing frame-by-frame tracking and tracker library returns failure
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops.c | 4 |
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 59631e3a181..49ea3247a55 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -1317,7 +1317,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); + tmj->context= BKE_tracking_context_new(clip, &sc->user, backwards); clip->tracking_context= tmj->context; @@ -1428,7 +1428,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); + context= BKE_tracking_context_new(clip, &sc->user, backwards); while(framenr != efra) { if(!BKE_tracking_next(context)) |