[Bf-blender-cvs] [a81290ddebc] blender2.8: UI: disable brush popover in particle mode
Campbell Barton
noreply at git.blender.org
Wed Aug 29 07:43:56 CEST 2018
Commit: a81290ddebcacef9b84040e4744a7caf0e720079
Author: Campbell Barton
Date: Wed Aug 29 15:47:06 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBa81290ddebcacef9b84040e4744a7caf0e720079
UI: disable brush popover in particle mode
This currently duplicates the same settings.
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index c02e57f67e0..5003f6c0bb9 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -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="")
More information about the Bf-blender-cvs
mailing list