Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/hydra/render_pass.cpp')
-rw-r--r--intern/cycles/hydra/render_pass.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/hydra/render_pass.cpp b/intern/cycles/hydra/render_pass.cpp
index 9d47dfc5c8d..8f6f934b898 100644
--- a/intern/cycles/hydra/render_pass.cpp
+++ b/intern/cycles/hydra/render_pass.cpp
@@ -117,10 +117,11 @@ void HdCyclesRenderPass::_Execute(const HdRenderPassStateSharedPtr &renderPassSt
#endif
if (const auto camera = static_cast<const HdCyclesCamera *>(renderPassState->GetCamera())) {
- camera->ApplyCameraSettings(scene->camera);
+ camera->ApplyCameraSettings(_renderParam, scene->camera);
}
else {
- HdCyclesCamera::ApplyCameraSettings(renderPassState->GetWorldToViewMatrix(),
+ HdCyclesCamera::ApplyCameraSettings(_renderParam,
+ renderPassState->GetWorldToViewMatrix(),
renderPassState->GetProjectionMatrix(),
renderPassState->GetClipPlanes(),
scene->camera);