[Bf-blender-cvs] [92aff05a7c1] master: Tracking: Cleanup, reuse existing variable

Sergey Sharybin noreply at git.blender.org
Sat Sep 23 13:18:48 CEST 2017


Commit: 92aff05a7c1cc995bf97933c23a4966b333ef2e3
Author: Sergey Sharybin
Date:   Sat Sep 23 16:16:22 2017 +0500
Branches: master
https://developer.blender.org/rB92aff05a7c1cc995bf97933c23a4966b333ef2e3

Tracking: Cleanup, reuse existing variable

===================================================================

M	source/blender/editors/space_clip/tracking_ops_track.c

===================================================================

diff --git a/source/blender/editors/space_clip/tracking_ops_track.c b/source/blender/editors/space_clip/tracking_ops_track.c
index 8168c514cf8..ec4e40fc2e5 100644
--- a/source/blender/editors/space_clip/tracking_ops_track.c
+++ b/source/blender/editors/space_clip/tracking_ops_track.c
@@ -165,7 +165,7 @@ static int track_markers_initjob(bContext *C,
 
 	track_init_markers(sc, clip, framenr, &frames_limit);
 
-	tmj->sfra = ED_space_clip_get_clip_frame_number(sc);
+	tmj->sfra = framenr;
 	tmj->clip = clip;
 	tmj->backwards = backwards;



More information about the Bf-blender-cvs mailing list