Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-11-05 14:53:54 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-11-05 18:31:12 +0300
commit946f9d8fb350ee0a6bb548c80031334dd7e9222a (patch)
tree5906d2cd0ae55b5416e9913afd724684e6766ae7 /release/scripts
parent2ae88c4d78945e05d27bca608468d34b51927b7d (diff)
Eevee: Fix "Show Irradiance/cubemap" icons
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 56022477515..19de7563c2c 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -464,17 +464,11 @@ class RENDER_PT_eevee_indirect_lighting_display(RenderButtonsPanel, Panel):
row = layout.row(align=True)
row.prop(props, "gi_cubemap_display_size", text="Cubemap Size")
- if props.gi_show_cubemaps:
- row.prop(props, "gi_show_cubemaps", text="", toggle=True, icon='HIDE_OFF')
- else:
- row.prop(props, "gi_show_cubemaps", text="", toggle=True, icon='HIDE_ON')
+ row.prop(props, "gi_show_cubemaps", text="", toggle=True)
row = layout.row(align=True)
row.prop(props, "gi_irradiance_display_size", text="Irradiance Size")
- if props.gi_show_irradiance:
- row.prop(props, "gi_show_irradiance", text="", toggle=True, icon='HIDE_OFF')
- else:
- row.prop(props, "gi_show_irradiance", text="", toggle=True, icon='HIDE_ON')
+ row.prop(props, "gi_show_irradiance", text="", toggle=True)
class RENDER_PT_eevee_film(RenderButtonsPanel, Panel):