diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-15 18:32:16 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-15 18:32:38 +0300 |
commit | 92d4fbf5cc3d6658ee9df33ab0eb798902d101ee (patch) | |
tree | b9a08a68c313236c83654a1a8c3c1b9a6063af5c /intern/cycles/blender/blender_camera.cpp | |
parent | 13b2ba4fddea0a3b8acab7781e7f0eb8aa0d61a1 (diff) |
Fix Cycles and viewport outline mismatch due to changed sensor size.
Diffstat (limited to 'intern/cycles/blender/blender_camera.cpp')
-rw-r--r-- | intern/cycles/blender/blender_camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_camera.cpp b/intern/cycles/blender/blender_camera.cpp index f00ade320e7..c7d37527d78 100644 --- a/intern/cycles/blender/blender_camera.cpp +++ b/intern/cycles/blender/blender_camera.cpp @@ -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; |