[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38561] branches/soc-2011-tomato/source/ blender/blenkernel/intern/movieclip.c: Camera tracking integration
Sergey Sharybin
g.ulairi at gmail.com
Thu Jul 21 16:59:56 CEST 2011
Revision: 38561
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38561
Author: nazgul
Date: 2011-07-21 14:59:56 +0000 (Thu, 21 Jul 2011)
Log Message:
-----------
Camera tracking integration
===========================
Forgot to initialize aspect ratio for opening clip.
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c
Modified: branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c
===================================================================
--- branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c 2011-07-21 14:56:13 UTC (rev 38560)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c 2011-07-21 14:59:56 UTC (rev 38561)
@@ -216,6 +216,8 @@
clip= alloc_libblock(&G.main->movieclip, ID_MC, name);
+ clip->aspx= clip->aspy= 1.0f;
+
clip->tracking.camera.sensor_width= 35.0f;
clip->tracking.camera.sensor_height= 18.0f;
clip->tracking.camera.units= CAMERA_UNITS_MM;
More information about the Bf-blender-cvs
mailing list