diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-22 03:10:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-22 03:10:12 +0300 |
commit | 7eaf00bfb09f5e5a5b0c57d7df7093970aff137e (patch) | |
tree | 59b41f1569aa762d3980310f22defd53abe1c6b5 /source/blender/blenkernel/intern/constraint.c | |
parent | e8e89c135f56d05d04ae6db7e876725738539291 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 2a28f333f41..4674b2c7554 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -635,7 +635,7 @@ static void constraint_target_to_mat4(Object *ob, const char *substring, float m /* apply full transformation of the segment if requested */ if (full_bbone) { int index = floorf(fac); - CLAMP(index, 0, pchan->bone->segments-1); + CLAMP(index, 0, pchan->bone->segments - 1); mul_m4_m4m4(tempmat, pchan->pose_mat, bbone[index].mat); } |