[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43646] trunk/blender/source/blender/ editors/space_clip/tracking_ops.c: Fix #29970: Crash trying to track disabled marker

Sergey Sharybin sergey.vfx at gmail.com
Mon Jan 23 20:32:12 CET 2012


Revision: 43646
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43646
Author:   nazgul
Date:     2012-01-23 19:32:00 +0000 (Mon, 23 Jan 2012)
Log Message:
-----------
Fix #29970: Crash trying to track disabled marker

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_clip/tracking_ops.c

Modified: trunk/blender/source/blender/editors/space_clip/tracking_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/tracking_ops.c	2012-01-23 17:49:56 UTC (rev 43645)
+++ trunk/blender/source/blender/editors/space_clip/tracking_ops.c	2012-01-23 19:32:00 UTC (rev 43646)
@@ -1208,7 +1208,7 @@
 	track= tracksbase->first;
 	while(track) {
 		if(TRACK_VIEW_SELECTED(sc, track) && (track->flag&TRACK_LOCKED)==0) {
-			MovieTrackingMarker *marker= BKE_tracking_exact_marker(track, framenr);
+			MovieTrackingMarker *marker= BKE_tracking_get_marker(track, framenr);
 
 			if (!marker || (marker->flag&MARKER_DISABLED) == 0)
 				tot++;



More information about the Bf-blender-cvs mailing list