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.
This commit is contained in:
Sergey Sharybin 2021-10-11 15:55:38 +02:00
parent 9c00486451
commit 4703e125bf
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}