diff options
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_camera.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_camera.cc b/source/blender/draw/engines/eevee_next/eevee_camera.cc index 3a7c42cd018..11cc6453817 100644 --- a/source/blender/draw/engines/eevee_next/eevee_camera.cc +++ b/source/blender/draw/engines/eevee_next/eevee_camera.cc @@ -40,20 +40,26 @@ void Camera::init() default: case CAM_PERSP: data.type = CAMERA_PERSP; + break; case CAM_ORTHO: data.type = CAMERA_ORTHO; + break; #if 0 /* TODO(fclem): Make fisheye properties inside blender. */ case CAM_PANO: { switch (cam->panorama_type) { default: case CAM_PANO_EQUIRECTANGULAR: data.type = CAMERA_PANO_EQUIRECT; + break; case CAM_PANO_FISHEYE_EQUIDISTANT: data.type = CAMERA_PANO_EQUIDISTANT; + break; case CAM_PANO_FISHEYE_EQUISOLID: data.type = CAMERA_PANO_EQUISOLID; + break; case CAM_PANO_MIRRORBALL: data.type = CAMERA_PANO_MIRROR; + break; } } #endif |