forked from bartvdbraak/blender
UI: particle deflector options in topbar
See: T57228
This commit is contained in:
parent
ec7c3b5b4f
commit
53d152258e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user