UI: show all pain mode panels in the topbar

This shows some which need to be hidden (eventually).
This commit is contained in:
Campbell Barton
2018-04-25 08:20:01 +02:00
parent ca49a9edce
commit deb98cfe5a

View File

@@ -120,13 +120,13 @@ class TOPBAR_HT_lower_bar(Header):
# (obviously separated for from the users POV)
if mode == 'SCULPT':
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="Tools")
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
elif mode == 'PAINT_VERTEX':
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="Tools")
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
elif mode == 'PAINT_WEIGHT':
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="Tools")
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
elif mode == 'PAINT_TEXTURE':
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="Tools")
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
elif mode == 'EDIT_ARMATURE':
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".armature_edit", category="")