diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-07 16:01:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-07 16:01:51 +0300 |
commit | c4440cf783b6badfd52f54c6be1eebf40589415f (patch) | |
tree | 4401c3a50036adb41843df983ac06df6d4b0890e /release/scripts/startup/bl_ui/space_topbar.py | |
parent | 9f4d92bb92a4142b60009a0711e03fb7d85269ab (diff) |
UI: add particle mode popovers
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 3f32038e56d..61d74b99559 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -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 |