UI: add particle mode popovers
This commit is contained in:
@@ -169,6 +169,10 @@ class TOPBAR_HT_lower_bar(Header):
|
||||
|
||||
elif mode == 'POSE':
|
||||
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".posemode", category="")
|
||||
elif mode == 'PARTICLE':
|
||||
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".paint_common", category="")
|
||||
layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".particlemode", category="")
|
||||
|
||||
|
||||
def draw_right(self, context):
|
||||
layout = self.layout
|
||||
|
||||
@@ -1227,7 +1227,7 @@ class VIEW3D_MT_tools_projectpaint_stencil(Menu):
|
||||
|
||||
class VIEW3D_PT_tools_particlemode(View3DPanel, Panel):
|
||||
"""Default tools for particle mode"""
|
||||
bl_context = "particlemode"
|
||||
bl_context = ".particlemode"
|
||||
bl_label = "Options"
|
||||
bl_category = "Tools"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user