[Bf-blender-cvs] [4703e125bf4] master: Fix active pixels overlay for Cycles viewport

Sergey Sharybin noreply at git.blender.org
Mon Oct 11 15:59:10 CEST 2021


Commit: 4703e125bf4bb2b604aa78131e9b1a5a7c01c7af
Author: Sergey Sharybin
Date:   Mon Oct 11 15:55:38 2021 +0200
Branches: master
https://developer.blender.org/rB4703e125bf4bb2b604aa78131e9b1a5a7c01c7af

Fix active pixels overlay for Cycles viewport

It got missed in some of previous development.

Can not see a reason why the line needed to be removed, maybe just some
accident.

===================================================================

M	intern/cycles/integrator/path_trace_work.cpp

===================================================================

diff --git a/intern/cycles/integrator/path_trace_work.cpp b/intern/cycles/integrator/path_trace_work.cpp
index 14e6f03aedc..d46f095d0d7 100644
--- a/intern/cycles/integrator/path_trace_work.cpp
+++ b/intern/cycles/integrator/path_trace_work.cpp
@@ -183,6 +183,8 @@ PassAccessor::PassAccessInfo PathTraceWork::get_display_pass_access_info(PassMod
   pass_access_info.use_approximate_shadow_catcher_background =
       kfilm.use_approximate_shadow_catcher && !kbackground.transparent;
 
+  pass_access_info.show_active_pixels = film_->get_show_active_pixels();
+
   return pass_access_info;
 }



More information about the Bf-blender-cvs mailing list