diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-10-02 13:26:39 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-10-02 13:27:07 +0300 |
commit | dcf1f891ea1d4eee6e0341de304ef802fc992836 (patch) | |
tree | 78d9a03be0634b0e5079082988bb98bb38ed7d6e /release | |
parent | 0ec6ad027e29b7740b53a3ec8723ddf50e5c2f90 (diff) |
UI: Fix error in shading popover
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
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: |