[Bf-blender-cvs] [9c8334acc14] master: UI: Fix alignment in object type visibility popover

Hans Goudey noreply at git.blender.org
Thu Oct 8 02:48:51 CEST 2020


Commit: 9c8334acc14fec3a4585a87ade6013543f7b5042
Author: Hans Goudey
Date:   Wed Oct 7 19:48:45 2020 -0500
Branches: master
https://developer.blender.org/rB9c8334acc14fec3a4585a87ade6013543f7b5042

UI: Fix alignment in object type visibility popover

After rBeb911610d05 there are some differences in how the layout code
decides whether to add decorators (aka animation buttons). Whether or
not that logic is correct, it's nice to specify that we don't want them
turned on in this popover.

===================================================================

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 24a74390773..41f555f380f 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5554,6 +5554,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         view = context.space_data



More information about the Bf-blender-cvs mailing list