diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-17 05:51:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-17 05:52:20 +0300 |
commit | a1ef2e4b16e1fe3c183e7477649f866b3e814102 (patch) | |
tree | 701f1696694488a780989cec0efb5063068b181e /source/blender/blenkernel/intern/constraint.c | |
parent | 12da679fa094bdee5e0d55bac51a95a7abfc6d13 (diff) |
Cleanup: comment, RNA spelling
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 4ae9b106e85..5766e84f960 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -2363,7 +2363,7 @@ static void armdef_accumulate_bone(bConstraintTarget *ct, /* The target is a B-Bone: * FIRST: find the segment (see b_bone_deform in armature.c) - * Need to transform co back to bonespace, only need y. */ + * Need to transform co back to bone-space, only need y. */ float y = iamat[0][1] * co[0] + iamat[1][1] * co[1] + iamat[2][1] * co[2] + iamat[3][1]; /* Blend the matrix. */ @@ -5238,14 +5238,16 @@ static void con_extern_cb(bConstraint *UNUSED(con), } } -/* helper for BKE_constraints_copy(), - * to be used for making sure that usercounts of copied ID's are fixed up */ +/** + * Helper for #BKE_constraints_copy(), + * to be used for making sure that user-counts of copied ID's are fixed up. + */ static void con_fix_copied_refs_cb(bConstraint *UNUSED(con), ID **idpoin, bool is_reference, void *UNUSED(userData)) { - /* increment usercount if this is a reference type */ + /* Increment user-count if this is a reference type. */ if ((*idpoin) && (is_reference)) { id_us_plus(*idpoin); } |