Add invert mapping option to proximity weight edit modifier, and some cleanup.

This commit is contained in:
Bastien Montagne
2020-03-24 18:28:09 +01:00
parent 26ef4fa85e
commit bb26c1359e
7 changed files with 62 additions and 38 deletions

View File

@@ -1410,7 +1410,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "max_dist")
layout.separator()
layout.prop(md, "falloff_type")
row = layout.row(align=True)
row.prop(md, "falloff_type")
row.prop(md, "invert_falloff", text="", icon='ARROW_LEFTRIGHT')
# Common mask options
layout.separator()