diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-09 21:04:37 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-09 21:43:00 +0300 |
commit | e702c9a7000bf4096546b876ae6a926acaa8d6ec (patch) | |
tree | 647cec9997e15e6e52a4da7b6a65dbcfcbce1c33 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 0030e6a2fc265258be7e02bedb89d81feda2adda (diff) |
Fix Cloth Brush not working with automasking
The cloth brush was not using the automasking values when calculating
the mask value on each vertex.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D7083
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 3d1c84511e6..090d1f33d74 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -203,6 +203,9 @@ void SCULPT_floodfill_execute( void *userdata); void SCULPT_floodfill_free(SculptFloodFill *flood); +/* Automasking. */ +float SCULPT_automasking_factor_get(SculptSession *ss, int vert); + /* Brushes. */ /* Cloth Brush. */ |