[Bf-blender-cvs] [0c48a091f9a] master: Tracking: Cleanup, use boolean instead of integer

Sergey Sharybin noreply at git.blender.org
Fri Aug 4 08:11:01 CEST 2017


Commit: 0c48a091f9a3e4a81936818922f6200c5a02865c
Author: Sergey Sharybin
Date:   Fri Aug 4 07:21:01 2017 +0200
Branches: master
https://developer.blender.org/rB0c48a091f9a3e4a81936818922f6200c5a02865c

Tracking: Cleanup, use boolean instead of integer

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

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 368cbeaf955..42b017e6324 100644
--- a/source/blender/editors/space_clip/tracking_ops_track.c
+++ b/source/blender/editors/space_clip/tracking_ops_track.c
@@ -212,7 +212,7 @@ static int track_markers_initjob(bContext *C,
 		}
 	}
 
-	tmj->context = BKE_autotrack_context_new(clip, &sc->user, backwards, 1);
+	tmj->context = BKE_autotrack_context_new(clip, &sc->user, backwards, true);
 
 	clip->tracking_context = tmj->context;




More information about the Bf-blender-cvs mailing list