Fix Cycles and viewport outline mismatch due to changed sensor size.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 15 May 2018 15:32:16 +0000 (17:32 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 15 May 2018 15:32:38 +0000 (17:32 +0200)
intern/cycles/blender/blender_camera.cpp

index f00ade320e780b6e8a1a1fff2568d13933d08955..c7d37527d78e7599b63a8b6052a3a8ffe0e67dc4 100644 (file)
@@ -95,8 +95,8 @@ static void blender_camera_init(BlenderCamera *bcam,
        bcam->type = CAMERA_PERSPECTIVE;
        bcam->zoom = 1.0f;
        bcam->pixelaspect = make_float2(1.0f, 1.0f);
-       bcam->sensor_width = 32.0f;
-       bcam->sensor_height = 18.0f;
+       bcam->sensor_width = 36.0f;
+       bcam->sensor_height = 24.0f;
        bcam->sensor_fit = BlenderCamera::AUTO;
        bcam->shuttertime = 1.0f;
        bcam->motion_position = Camera::MOTION_POSITION_CENTER;