[Bf-blender-cvs] [a1cdf9cc3f7] blender2.8: UI: Fix inverted selection restrict icon
Clément Foucault
noreply at git.blender.org
Tue Oct 30 16:44:29 CET 2018
Commit: a1cdf9cc3f7d9658ea41d901296e76000bc9d4fd
Author: Clément Foucault
Date: Tue Oct 30 16:19:10 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBa1cdf9cc3f7d9658ea41d901296e76000bc9d4fd
UI: Fix inverted selection restrict icon
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index c00028495be..8b61737fd5b 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4013,7 +4013,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_OFF' if getattr(view, attr_s) else 'RESTRICT_SELECT_ON'
+ icon_s = 'RESTRICT_SELECT_ON' if getattr(view, attr_s) else 'RESTRICT_SELECT_OFF'
row = col.row(align=True)
row.prop(view, attr_v)
More information about the Bf-blender-cvs
mailing list