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:
-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: