Sculpt: Option to limit the forces axis in the Cloth Filter

This uses the same concept of the Mesh Filter but for applying the cloth
filter forces, so now it can be limited to a specific axis.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8567
This commit is contained in:
Pablo Dobarro
2020-08-18 13:27:58 +02:00
parent 976f0113e0
commit 4814836120
3 changed files with 33 additions and 0 deletions

View File

@@ -1286,6 +1286,8 @@ class _defs_sculpt:
props = tool.operator_properties("sculpt.cloth_filter")
layout.prop(props, "type", expand=False)
layout.prop(props, "strength")
row = layout.row(align=True)
row.prop(props, "force_axis")
layout.prop(props, "cloth_mass")
layout.prop(props, "cloth_damping")
layout.prop(props, "use_face_sets")