UI: disable brush popover in particle mode

This currently duplicates the same settings.
This commit is contained in:
Campbell Barton 2018-08-29 15:47:06 +10:00
parent b72e81bfd0
commit a81290ddeb
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,9 @@ class TOPBAR_HT_lower_bar(Header):
elif mode == 'POSE':
pass
elif mode == 'PARTICLE':
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".paint_common", category="")
# Disable, only shows "Brush" panel, which is already in the top-bar.
# layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".paint_common", category="")
pass
elif mode == 'GPENCIL_PAINT':
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_paint", category="")