Tomato: camera sensor changes
[blender.git] / source / gameengine / VideoTexture / ImageRender.cpp
index 8bc8c67db6b356917e4a1b95e8932e261ac23e68..a349b45e4037ea01dec061e649898a0e9cab3410 100644 (file)
@@ -235,7 +235,7 @@ void ImageRender::Render()
                                    farfrust,
                                    m_camera->GetScale(),
                                    aspect_ratio,
-                                               m_camera->GetFOVMode(),
+                                               m_camera->GetSensorFit(),
                                    frustrum
                                    );
 
@@ -249,7 +249,7 @@ void ImageRender::Render()
                                    lens,
                                    sensor_x,
                                    sensor_y,
-                                   RAS_FOVMODE_AUTO,
+                                   RAS_SENSORFIT_AUTO,
                                    aspect_ratio,
                                    frustrum);