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-10-02 13:26:39 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-10-02 13:27:07 +0300
commitdcf1f891ea1d4eee6e0341de304ef802fc992836 (patch)
tree78d9a03be0634b0e5079082988bb98bb38ed7d6e /release/scripts/startup/bl_ui/space_view3d.py
parent0ec6ad027e29b7740b53a3ec8723ddf50e5c2f90 (diff)
UI: Fix error in shading popover
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index fc15e81717b..05a009b9b19 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4155,7 +4155,7 @@ class VIEW3D_PT_shading_options(Panel):
if shading.type == 'SOLID':
row = col.row()
row.prop(shading, "show_shadows", text="")
- row.active = not is_xray
+ row.active = not shading.show_xray
sub = row.row(align=True)
sub.active = is_shadows
sub.prop(shading, "shadow_intensity", text="Shadow")
@@ -4167,7 +4167,7 @@ class VIEW3D_PT_shading_options(Panel):
col = layout.column()
row = col.row()
- row.active = not is_xray
+ row.active = not shading.show_xray
row.prop(shading, "show_cavity")
if shading.show_cavity: