Fix T92002: Cycles baking certain light passes does not work

When reading pixels for virtual passes like diffuse, that sum diffuse direct
and indirect passes, we do not need them to exist with an offset in the render
buffer.
This commit is contained in:
Brecht Van Lommel 2021-11-03 21:58:47 +01:00
parent 915f911daa
commit 3e6907eb8a
Notes: blender-bot 2023-02-14 05:37:19 +01:00
Referenced by issue #92780, Relocate Library Override loses local Materials (but not for automatically overridden data)
Referenced by issue #92002, Cycles baking with Combined filter settings not working
1 changed files with 0 additions and 4 deletions

View File

@ -138,10 +138,6 @@ bool PassAccessor::get_render_tile_pixels(const RenderBuffers *render_buffers,
return false;
}
if (pass_access_info_.offset == PASS_UNUSED) {
return false;
}
const PassType type = pass_access_info_.type;
const PassMode mode = pass_access_info_.mode;
const PassInfo pass_info = Pass::get_info(type, pass_access_info_.include_albedo);