Blender Git Commit Log

Git Commits -> Revision 49c1359

Revision 49c1359 by Pablo Dobarro (master)
July 30, 2020, 13:59 (GMT)
Sculpt: Enable persistent base for the cloth brush

The cloth brush builds the constraints when the stroke starts usign the
current state of the mesh. This means that deformations profuced by the
simulattion will accumulate after multiple strokes as it will always
start from the previous deformed state. While this is useful in many
cases, for other uses it is convenient to always simulate the same
initial shape, but applying different forces to it.

The persistent base options work like the persistent base in the layer
brush and allows the cloth brush to not accumulate deformation after
each stroke. When enabled, constraints are created for the shape stored
in the persistent base instead of from the current state of the mesh.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8428

Commit Details:

Full Hash: 49c1359b5568109244aac384f8e50e5bb12da95f
Parent Commit: 27b643d
Lines Changed: +21, -8

4 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+13, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021