Fix T62223: Particle select tools also show brush settings

This commit is contained in:
Campbell Barton
2019-03-06 21:28:41 +11:00
parent ce8d6afb63
commit 37fa8b0cf9

View File

@@ -396,6 +396,9 @@ class _draw_left_context_mode:
@staticmethod
def PARTICLE(context, layout, tool):
if (tool is None) or (not tool.has_datablock):
return
# See: 'VIEW3D_PT_tools_brush', basically a duplicate
settings = context.tool_settings.particle_edit
brush = settings.brush