Blender Git Loki

Git Commits -> Revision 6fe3521

Revision 6fe3521 by Pablo Dobarro (master)
October 15, 2020, 17:35 (GMT)
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

Commit Details:

Full Hash: 6fe3521481b26ad6b6411b0863dfcd4ac2a81132
Parent Commit: da7ace0
Lines Changed: +150, -122

7 Modified Paths:

/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_automasking.c (+68, -50) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+11, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+22, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+24, -50) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+21, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021