diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-04 17:33:19 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-04 17:33:19 +0300 |
commit | 6b9062508a46c19434d543b703e0eb83e6b1ac94 (patch) | |
tree | 1fcd4ed76a2961922cbe76dc2771ffb2b5fe3ac8 /source/blender/editors/sculpt_paint | |
parent | 3685347b417259f08060d914b4447d0190a5f57e (diff) | |
parent | db4bb49aae68c6e7dc9e26a90c0ad3693fba37fc (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 2bc36be42ab..015657318b2 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -4086,9 +4086,7 @@ SculptPoseIKChain *sculpt_pose_ik_chain_init(Sculpt *sd, const float radius) { - float chain_end[3]; - float chain_segment_len = len_v3v3(initial_location, chain_end) / br->pose_ik_segments; - chain_segment_len = radius * (1.0f + br->pose_offset); + const float chain_segment_len = radius * (1.0f + br->pose_offset); float next_chain_segment_target[3]; int totvert = sculpt_vertex_count_get(ss); |