diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-04 16:03:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-04 16:09:38 +0300 |
commit | a59fab461c8b06b5ea95886841042899c2ebfaf5 (patch) | |
tree | 88a403190894ad8cd9187f49faaed47078d5cf61 | |
parent | 176f0102eaacc9f9caa5de24326137a8c3fa0f89 (diff) |
Fix-for-fix ik-spline clamp existing files too
-rw-r--r-- | source/blender/blenkernel/intern/armature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index 00cfa05d29c..afc0ff726ce 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -1940,13 +1940,13 @@ static void splineik_init_tree_from_pchan(Scene *scene, Object *UNUSED(ob), bPos } } - /* disallow negative values (happens with float precision) */ - CLAMP_MIN(ikData->points[segcount], 0.0f); - /* spline has now been bound */ ikData->flag |= CONSTRAINT_SPLINEIK_BOUND; } + /* disallow negative values (happens with float precision) */ + CLAMP_MIN(ikData->points[segcount], 0.0f); + /* apply corrections for sensitivity to scaling on a copy of the bind points, * since it's easier to determine the positions of all the joints beforehand this way */ |