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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-09 05:18:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-09 05:18:50 +0300
commitf96e7154f650f4c7b81a1359e70f7ada57e94506 (patch)
tree5c84de51540c233a9946850c87b5e1f4c036616b /release
parent7346c4f513b6c8c4a65b8bb76f1935fecb20c604 (diff)
UI: tweak object type active state
The state of the objects visibility should only impact the 'active' display of the select icon, not it's self.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 536e7fdc6a8..ab654165960 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4031,8 +4031,9 @@ class VIEW3D_PT_object_type_visibility(Panel):
row.label(text=attr_name)
row.prop(view, attr_v, text="", icon=icon_v, emboss=False)
- row.active = getattr(view, attr_v)
- row.prop(view, attr_s, text="", icon=icon_s, emboss=False)
+ rowsub = row.row(align=True)
+ rowsub.active = getattr(view, attr_v)
+ rowsub.prop(view, attr_s, text="", icon=icon_s, emboss=False)
class VIEW3D_PT_shading(Panel):