[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37740] branches/soc-2011-tomato/source/ blender/editors/space_clip/tracking_ops.c: Camera tracking integration

Sergey Sharybin g.ulairi at gmail.com
Wed Jun 22 19:43:10 CEST 2011


Revision: 37740
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37740
Author:   nazgul
Date:     2011-06-22 17:43:09 +0000 (Wed, 22 Jun 2011)
Log Message:
-----------
Camera tracking integration
===========================

Minor fix: curfra could be set to 0 when tracking fails
on first tracking frame.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c	2011-06-22 17:38:47 UTC (rev 37739)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c	2011-06-22 17:43:09 UTC (rev 37740)
@@ -704,6 +704,8 @@
 
 	clip->tracking_context= tmj->context;
 
+	tmj->lastfra= tmj->sfra;
+
 	/* XXX: silly to store this, but this data is needed to update scene and movieclip
 	        frame numbers when tracking is finished. This introduces better feedback for artists.
 	        Maybe there's another way to solve this problem, but can't think better way atm.




More information about the Bf-blender-cvs mailing list