Fix warning when initializing the IK chain in the Pose Brush

The code removed was left there from an early prototype and it was not
doing anything.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6741
This commit is contained in:
Pablo Dobarro 2020-02-03 17:12:28 +01:00
parent 842e71a1ef
commit db4bb49aae
1 changed files with 1 additions and 3 deletions

View File

@ -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);