Merging r38454 through r38515 from trunk into soc-2011-tomato
[blender.git] / source / gameengine / Converter / BL_BlenderDataConversion.cpp
index 7b9c5d4b4d6c93c931db8c226b4ecf03665d636e..c8d4e76639220c796f114b4c2b34c94257ca4a80 100644 (file)
@@ -1690,7 +1690,7 @@ static KX_LightObject *gamelight_from_blamp(Object *ob, Lamp *la, unsigned int l
 
 static KX_Camera *gamecamera_from_bcamera(Object *ob, KX_Scene *kxscene, KX_BlenderSceneConverter *converter) {
        Camera* ca = static_cast<Camera*>(ob->data);
-       RAS_CameraData camdata(ca->lens, ca->ortho_scale, ca->clipsta, ca->clipend, ca->type == CAM_PERSP, ca->YF_dofdist);
+       RAS_CameraData camdata(ca->lens, ca->ortho_scale, ca->sensor_x, ca->clipsta, ca->clipend, ca->type == CAM_PERSP, ca->YF_dofdist);
        KX_Camera *gamecamera;
        
        gamecamera= new KX_Camera(kxscene, KX_Scene::m_callbacks, camdata);