diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-10-11 16:55:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-10-11 16:59:07 +0300 |
commit | 4703e125bf4bb2b604aa78131e9b1a5a7c01c7af (patch) | |
tree | 9f58ea4b332caee7080d502210c3f2fa46eb2464 /intern/cycles/integrator/path_trace_work.cpp | |
parent | 9c004864511f80e48a48a4d8e459d8f05c40f64d (diff) |
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.
Diffstat (limited to 'intern/cycles/integrator/path_trace_work.cpp')
-rw-r--r-- | intern/cycles/integrator/path_trace_work.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |