diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-17 10:52:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-17 10:56:21 +0300 |
commit | 53d152258e9fcaee2168a92e39df9c3a71b7f43a (patch) | |
tree | 0b8731d3b6a3534df01155e28a00a380632d75f7 /release/scripts/startup/bl_ui | |
parent | ec7c3b5b4fe869ea8587a5b50cbc293010fd98d8 (diff) |
UI: particle deflector options in topbar
See: T57228
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 0f68b16f71a..3aeb3330afb 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -303,6 +303,15 @@ class _draw_left_context_mode: elif tool == 'PUFF': layout.row().prop(brush, "puff_mode", expand=True) layout.prop(brush, "use_puff_volume") + elif tool == 'COMB': + # Note: actually in 'Options' panel, + # disabled when used in popover. + row = layout.row() + row.active = settings.is_editable + row.prop(settings, "use_emitter_deflect", text="Deflect Emitter") + sub = row.row(align=True) + sub.active = settings.use_emitter_deflect + sub.prop(settings, "emitter_distance", text="Distance") class IMAGE_EDITOR: def VIEW(context, layout, tool): |