[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40561] branches/soc-2011-tomato/source/ blender/collada/CameraExporter.cpp: Camera tracking integration

Sergey Sharybin g.ulairi at gmail.com
Mon Sep 26 12:16:12 CEST 2011


Revision: 40561
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40561
Author:   nazgul
Date:     2011-09-26 10:16:11 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
Camera tracking integration
===========================

Fixed compilation error with collada enabled.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/collada/CameraExporter.cpp

Modified: branches/soc-2011-tomato/source/blender/collada/CameraExporter.cpp
===================================================================
--- branches/soc-2011-tomato/source/blender/collada/CameraExporter.cpp	2011-09-26 09:43:35 UTC (rev 40560)
+++ branches/soc-2011-tomato/source/blender/collada/CameraExporter.cpp	2011-09-26 10:16:11 UTC (rev 40561)
@@ -73,7 +73,7 @@
 	
 	if (cam->type == CAM_PERSP) {
 		COLLADASW::PerspectiveOptic persp(mSW);
-		persp.setXFov(RAD2DEGF(focallength_to_hfov(cam->lens), cam->sensor_x), "xfov");
+		persp.setXFov(RAD2DEGF(focallength_to_hfov(cam->lens, cam->sensor_x)), "xfov");
 		persp.setAspectRatio((float)(sce->r.xsch)/(float)(sce->r.ysch),false,"aspect_ratio");
 		persp.setZFar(cam->clipend, false , "zfar");
 		persp.setZNear(cam->clipsta,false , "znear");




More information about the Bf-blender-cvs mailing list