diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-03-03 11:58:48 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-03-12 11:27:28 +0300 |
commit | 456595fd39c2db59be9de4652c7232a04d2322b6 (patch) | |
tree | 0bc24a147b4f8197f3c092a7570154670dc88cd0 /source/blender/draw/engines/eevee/eevee_materials.c | |
parent | 0c0895e3e679a22c7bb3674a43c9e020e23c93d6 (diff) |
Fix T74392: HDRI preview spheres appear in render passes and reflections
Do not render HDRI Previews when a renderpass is active
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D7005
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_materials.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_materials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_materials.c b/source/blender/draw/engines/eevee/eevee_materials.c index 19d674bfc9c..230a0725493 100644 --- a/source/blender/draw/engines/eevee/eevee_materials.c +++ b/source/blender/draw/engines/eevee/eevee_materials.c @@ -1266,7 +1266,7 @@ void EEVEE_materials_cache_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata) DRW_shgroup_call(grp, DRW_cache_fullscreen_quad_get(), NULL); } - if (LOOK_DEV_OVERLAY_ENABLED(draw_ctx->v3d)) { + if (eevee_hdri_preview_overlay_enabled(draw_ctx->v3d)) { DRWShadingGroup *shgrp; struct GPUBatch *sphere = DRW_cache_sphere_get(); |