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
This commit is contained in:
Jeroen Bakker
2020-03-03 09:58:48 +01:00
parent 0c0895e3e6
commit 456595fd39
4 changed files with 21 additions and 7 deletions

View File

@@ -5888,7 +5888,9 @@ class VIEW3D_PT_overlay_guides(Panel):
sub.prop(overlay, "show_cursor", text="3D Cursor")
if shading.type == 'MATERIAL':
col.prop(overlay, "show_look_dev")
row = col.row()
row.active = shading.render_pass == 'COMBINED'
row.prop(overlay, "show_look_dev")
col.prop(overlay, "show_annotation", text="Annotations")