Sculpt: Sculpt Filter Orientation Options

Previously, the XYZ deform axis of the Mesh Filter were limited to
object space (which is the default for sculpt mode). Now it is possible
to limit the XYZ displacement in Local, Global or View space.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8582
This commit is contained in:
Pablo Dobarro
2020-08-17 18:47:00 +02:00
parent 017941057f
commit 89a374cd96
6 changed files with 98 additions and 6 deletions

View File

@@ -1262,6 +1262,7 @@ class _defs_sculpt:
layout.prop(props, "strength")
row = layout.row(align=True)
row.prop(props, "deform_axis")
layout.prop(props, "orientation", expand=False)
layout.prop(props, "use_face_sets")
if props.type == 'SURFACE_SMOOTH':
layout.prop(props, "surface_smooth_shape_preservation", expand=False)