Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2019-10-07 23:07:29 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-10-09 16:44:56 +0300
commit06c5520bda40c9b5b8240eaf4c8d0a1de7d2ffec (patch)
tree773791f0824dadc3c57f85a2a4632878e5f0b51a /source/blender/blenkernel/intern/brush.c
parentec9044e2b2ea6609128cc1db98eb23411f5e2ade (diff)
Fix T70554: Snake Hook + Ctrl does not set the brush stroke in its normal direction
This commit also fixes the same issue in elastic deform Reviewed By: jbakker Maniphest Tasks: T70554 Differential Revision: https://developer.blender.org/D6014
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 39a12a997ef..597a5c78a8d 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -935,6 +935,7 @@ void BKE_brush_sculpt_reset(Brush *br)
break;
case SCULPT_TOOL_SNAKE_HOOK:
br->alpha = 1.0f;
+ br->rake_factor = 1.0f;
break;
case SCULPT_TOOL_THUMB:
br->size = 75;