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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-08 21:06:42 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-08 21:06:42 +0300
commitde8c2336adf56061c4ae29c28cfc001d08d300f2 (patch)
tree746c7b33da1062dc55bed0cea431ab8f9fc398e4 /release
parent626ca4a2d53e8d855bbe09f9fc8b27980245eb82 (diff)
Fix wrong selectability icon in viewport menu.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index c01db5d1cca..a80203f0971 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4022,7 +4022,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
attr_v = "show_object_viewport_" f"{attr:s}"
attr_s = "show_object_select_" f"{attr:s}"
- icon_s = 'RESTRICT_SELECT_ON' if getattr(view, attr_s) else 'RESTRICT_SELECT_OFF'
+ icon_s = 'RESTRICT_SELECT_OFF' if getattr(view, attr_s) else 'RESTRICT_SELECT_ON'
row = col.row(align=True)
row.prop(view, attr_v)