Commit: deb98cfe5a76b8b7d08277b57eef8d8e0772ad0d
Author: Campbell Barton
Date: Wed Apr 25 08:20:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBdeb98cfe5a76b8b7d08277b57eef8d8e0772ad0d
UI: show all pain mode panels in the topbar
This shows some which need to be hidden (eventually).
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py
b/release/scripts/startup/bl_ui/space_topbar.py
index ad8c68fa7c9..3eded5e0b46 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -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="")
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs