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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to