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