[Bf-blender-cvs] [60fee783234] master: Cleanup: FCurve, comments should be sentences

TonyG noreply at git.blender.org
Tue Sep 15 11:13:53 CEST 2020


Commit: 60fee7832342195ddeb7c7b712b5a080bfd80f21
Author: TonyG
Date:   Tue Sep 15 11:03:30 2020 +0200
Branches: master
https://developer.blender.org/rB60fee7832342195ddeb7c7b712b5a080bfd80f21

Cleanup: FCurve, comments should be sentences

No functional changes.

===================================================================

M	source/blender/blenkernel/intern/fcurve.c

===================================================================

diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c
index d5b54eb1cd1..8a5ad483ffd 100644
--- a/source/blender/blenkernel/intern/fcurve.c
+++ b/source/blender/blenkernel/intern/fcurve.c
@@ -1316,14 +1316,14 @@ void correct_bezpart(const float v1[2], float v2[2], float v3[2], const float v4
 {
   float h1[2], h2[2], len1, len2, len, fac;
 
-  /* calculate handle deltas */
+  /* Calculate handle deltas. */
   h1[0] = v1[0] - v2[0];
   h1[1] = v1[1] - v2[1];
 
   h2[0] = v4[0] - v3[0];
   h2[1] = v4[1] - v3[1];
 
-  /* calculate distances:
+  /* Calculate distances:
    * - len  = span of time between keyframes
    * - len1 = length of handle of start key
    * - len2 = length of handle of end key
@@ -1332,7 +1332,7 @@ void correct_bezpart(const float v1[2], float v2[2], float v3[2], const float v4
   len1 = fabsf(h1[0]);
   len2 = fabsf(h2[0]);
 
-  /* if the handles have no length, no need to do any corrections */
+  /* If the handles have no length, no need to do any corrections. */
   if ((len1 + len2) == 0.0f) {
     return;
   }



More information about the Bf-blender-cvs mailing list