diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-27 17:00:57 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-27 18:48:28 +0300 |
commit | 9df9fb33244889c37b9bfd5ef938c96f27144fee (patch) | |
tree | 2d7555aaabe7298415032053f2e63ffa914a1260 /source/blender/blenkernel | |
parent | 97f4d4c66ebb51608be11c6615a85164a4c2b408 (diff) |
Fix T56497: Snake hook sculpt brush slips off and affects the part of the mesh behind
We should not be updating the cache true location there.
This commit also fixes the snake hook default alpha.
Reviewed By: brecht
Maniphest Tasks: T56497
Differential Revision: https://developer.blender.org/D5915
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 4df5eb6f263..e697b548678 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -923,6 +923,8 @@ void BKE_brush_sculpt_reset(Brush *br) br->alpha = 0.7f; break; case SCULPT_TOOL_SNAKE_HOOK: + br->alpha = 1.0f; + break; case SCULPT_TOOL_THUMB: br->size = 75; br->flag &= ~BRUSH_ALPHA_PRESSURE; |