forked from bartvdbraak/blender
UI: disable brush popover in particle mode
This currently duplicates the same settings.
This commit is contained in:
parent
b72e81bfd0
commit
a81290ddeb
@ -127,7 +127,9 @@ class TOPBAR_HT_lower_bar(Header):
|
|||||||
elif mode == 'POSE':
|
elif mode == 'POSE':
|
||||||
pass
|
pass
|
||||||
elif mode == 'PARTICLE':
|
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':
|
elif mode == 'GPENCIL_PAINT':
|
||||||
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_paint", category="")
|
layout.popover_group(space_type='PROPERTIES', region_type='WINDOW', context=".greasepencil_paint", category="")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user