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:
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 918fc5f347d..3f20ab9ea30 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);
+ tmj->context= BKE_tracking_context_new(clip, &sc->user, backwards, 1, 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);
+ context= BKE_tracking_context_new(clip, &sc->user, backwards, sequence, sequence);
while(framenr != efra) {
if(!BKE_tracking_next(context))
@@ -2310,9 +2310,9 @@ static int set_floor_exec(bContext *C, wmOperator *op)
/* make camera have positive z-coordinate */
if(object->loc[2]<0) {
- invert_m4(rot);
- mult_m4_m4m4(newmat, rot, mat);
- object_apply_mat4(object, newmat, 0, 0);
+ invert_m4(rot);
+ mult_m4_m4m4(newmat, rot, mat);
+ object_apply_mat4(object, newmat, 0, 0);
}
}
else {