From d8c097e22619e85e9dc7a4b04196c25ac49aa00e Mon Sep 17 00:00:00 2001 From: "georgiy.m.markelov@gmail.com" Date: Fri, 3 Mar 2023 19:03:08 +0300 Subject: [PATCH] initial --- source/blender/render/hydra/previewEngine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/render/hydra/previewEngine.cc b/source/blender/render/hydra/previewEngine.cc index 838eb07f1598..fefa8f4001b3 100644 --- a/source/blender/render/hydra/previewEngine.cc +++ b/source/blender/render/hydra/previewEngine.cc @@ -35,7 +35,8 @@ void PreviewEngine::render(BL::Depsgraph &b_depsgraph) renderTaskDelegate->SetCameraAndViewport(freeCameraDelegate->GetCameraId(), GfVec4d(0, 0, buffer_res[0], buffer_res[1])); renderTaskDelegate->SetRendererAov(HdAovTokens->color); - HdTaskSharedPtrVector tasks = renderTaskDelegate->GetTasks(); + HdTaskSharedPtrVector tasks; + tasks.push_back(renderTaskDelegate->GetTask()); vector pixels = vector(buffer_res[0] * buffer_res[1] * 4); // 4 - number of channels -- 2.30.2