Sculpt: Add global automasking settings support in filters
When using the sculpt filters, global automasking settings that affect all brushes were ignored because the automasking system was not implemented for filters, making filters and brushes react differently to the global sculpt settings which creates confusion. This makes all filter tools (mesh, cloth, color) use the same general automasking settings and features as the brush tools. Filters will now use the settings in the options panel to limit their effect. This also removes the "use Face Sets" option from the Mesh filter code, as it was duplicated from the automasking code just to have that funcitonality. This is now handled by the regular automasking system. The "Use Face Sets" option is still available in the cloth filter as that option limits the action of the forces, not the displacement. After this, it is possible to initialize the automasking system independently from the StrokeCache and Brush settings, so it can also be added to more tools and features in the future. Fixes T81619 Reviewed By: dbystedt, sergey Maniphest Tasks: T81619 Differential Revision: https://developer.blender.org/D9171
This commit is contained in:
@@ -1351,7 +1351,6 @@ class _defs_sculpt:
|
||||
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)
|
||||
layout.prop(props, "surface_smooth_current_vertex", expand=False)
|
||||
|
Reference in New Issue
Block a user