From 76238af213d44349821612db6a43f3a89d9be5f4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 4 Oct 2021 12:07:55 +0200 Subject: Fix Cycles render time pass being available in UI, but it was removed This previously only work for CPU rendering, and isn't that practical to get working in the new architecture. --- intern/cycles/integrator/pass_accessor.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'intern/cycles/integrator') diff --git a/intern/cycles/integrator/pass_accessor.cpp b/intern/cycles/integrator/pass_accessor.cpp index 87c048b1fa5..4f76f1fa9df 100644 --- a/intern/cycles/integrator/pass_accessor.cpp +++ b/intern/cycles/integrator/pass_accessor.cpp @@ -149,9 +149,6 @@ bool PassAccessor::get_render_tile_pixels(const RenderBuffers *render_buffers, /* Denoised passes store their final pixels, no need in special calculation. */ get_pass_float(render_buffers, buffer_params, destination); } - else if (type == PASS_RENDER_TIME) { - /* TODO(sergey): Needs implementation. */ - } else if (type == PASS_DEPTH) { get_pass_depth(render_buffers, buffer_params, destination); } -- cgit v1.2.3