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>2020-02-11 21:43:36 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-02-11 21:44:14 +0300
commit0ab7e321585f909a4fd3cc55221bf3d3827989e9 (patch)
tree5568149508acb6cffeb89c74b57f29c4d523dc45 /source/blender/blenkernel/intern/brush.c
parent015d5eda884dfb10f8982f9b0f8d69c9ea540349 (diff)
Pose Brush: Option to disable the IK anchor point
The IK chain was using an anchor point by default as it makes sense for posing, but for creating curved shapes it is useful to be able to disable it. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6584
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 a2e3a997408..effb3002630 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1000,6 +1000,7 @@ void BKE_brush_sculpt_reset(Brush *br)
case SCULPT_TOOL_POSE:
br->pose_smooth_iterations = 4;
br->pose_ik_segments = 1;
+ br->flag2 |= BRUSH_POSE_IK_ANCHORED;
br->flag &= ~BRUSH_ALPHA_PRESSURE;
br->flag &= ~BRUSH_SPACE;
br->flag &= ~BRUSH_SPACE_ATTEN;