diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp index 345fc37b340..e262533b2f7 100644 --- a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp +++ b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp @@ -37,7 +37,8 @@ float ConvertDepthToRadiusOperation::determineFocalDistance() { if (cameraObject == NULL || cameraObject->type != OB_CAMERA) { return 10.0f; - } else { + } + else { Camera *camera= (Camera*)this->cameraObject->data; cam_lens = camera->lens; if (camera->dof_ob) { |