forked from bartvdbraak/blender
GP: Add popover for Sculpt and Weight Paint panels
This commit is contained in:
parent
3816592fc6
commit
e61861e393
@ -139,6 +139,10 @@ class TOPBAR_HT_lower_bar(Header):
|
||||
pass
|
||||
elif mode == 'GPENCIL_PAINT':
|
||||
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_paint", category="")
|
||||
elif mode == 'GPENCIL_SCULPT':
|
||||
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_sculpt", category="")
|
||||
elif mode == 'GPENCIL_WEIGHT':
|
||||
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_weight", category="")
|
||||
|
||||
def draw_center(self, context):
|
||||
pass
|
||||
|
@ -1711,7 +1711,7 @@ class VIEW3D_PT_tools_grease_pencil_sculpt(GreasePencilStrokeSculptPanel, View3D
|
||||
class VIEW3D_PT_tools_grease_pencil_weight_paint(View3DPanel, Panel):
|
||||
bl_context = ".greasepencil_weight"
|
||||
bl_category = "Tools"
|
||||
bl_label = "Weight Paint"
|
||||
bl_label = "Brush"
|
||||
|
||||
@staticmethod
|
||||
def draw(self, context):
|
||||
|
Loading…
Reference in New Issue
Block a user