[Bf-blender-cvs] [cb370806277] blender2.8: Topbar: Enable Vertex Paint tools

Jeroen Bakker noreply at git.blender.org
Mon Apr 30 10:41:44 CEST 2018


Commit: cb3708062774f4694f493fb8a531af2ea33a2d39
Author: Jeroen Bakker
Date:   Mon Apr 30 10:40:54 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBcb3708062774f4694f493fb8a531af2ea33a2d39

Topbar: Enable Vertex Paint tools

Discussed with Campbell just to use the .dummy for now.

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

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 b0a3be18fad..bb357269be4 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -147,7 +147,7 @@ class TOPBAR_HT_lower_bar(Header):
         if mode == 'SCULPT':
             layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".dummy", category="")
         elif mode == 'PAINT_VERTEX':
-            layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
+            layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".dummy", category="")
         elif mode == 'PAINT_WEIGHT':
             layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context="", category="")
         elif mode == 'PAINT_TEXTURE':



More information about the Bf-blender-cvs mailing list