[Bf-blender-cvs] [04572f0899f] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Fri Jan 15 02:24:33 CET 2021


Commit: 04572f0899f5cb45e71178a4d3ac03a01e1c088a
Author: Campbell Barton
Date:   Fri Jan 15 12:23:50 2021 +1100
Branches: master
https://developer.blender.org/rB04572f0899f5cb45e71178a4d3ac03a01e1c088a

Cleanup: spelling

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

M	source/blender/blenlib/intern/math_geom.c
M	source/blender/compositor/operations/COM_BokehImageOperation.h
M	source/blender/compositor/operations/COM_DotproductOperation.cpp
M	source/blender/editors/transform/transform_convert_tracking.c

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

diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index 563457603bd..de5f96d3372 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -6295,7 +6295,7 @@ float geodesic_distance_propagate_across_triangle(
     }
   }
 
-  /* Fall back to Dijsktra approximaton in trivial case, or if no valid source
+  /* Fall back to Dijsktra approximation in trivial case, or if no valid source
    * point found that connects to v0 across the triangle. */
   return min_ff(dist1 + len_v3(v10), dist2 + len_v3v3(v0, v2));
 }
diff --git a/source/blender/compositor/operations/COM_BokehImageOperation.h b/source/blender/compositor/operations/COM_BokehImageOperation.h
index 01ffa026152..2d775bdf738 100644
--- a/source/blender/compositor/operations/COM_BokehImageOperation.h
+++ b/source/blender/compositor/operations/COM_BokehImageOperation.h
@@ -55,7 +55,7 @@ class BokehImageOperation : public NodeOperation {
   NodeBokehImage *m_data;
 
   /**
-   * \brief precalced center of the image
+   * \brief precalculate center of the image
    */
   float m_center[2];
 
@@ -87,7 +87,7 @@ class BokehImageOperation : public NodeOperation {
   /**
    * \brief determine the coordinate of a flap corner.
    *
-   * \param r: result in bokehimage space are stored [x,y]
+   * \param r: result in bokeh-image space are stored [x,y]
    * \param flapNumber: the flap number to calculate
    * \param distance: the lens distance is used to simulate lens shifts
    */
diff --git a/source/blender/compositor/operations/COM_DotproductOperation.cpp b/source/blender/compositor/operations/COM_DotproductOperation.cpp
index 750e4308d11..5914be21453 100644
--- a/source/blender/compositor/operations/COM_DotproductOperation.cpp
+++ b/source/blender/compositor/operations/COM_DotproductOperation.cpp
@@ -39,7 +39,7 @@ void DotproductOperation::deinitExecution()
   this->m_input2Operation = nullptr;
 }
 
-/** \todo: current implementation is the inverse of a dotproduct. not 'logically' correct
+/** \todo current implementation is the inverse of a dot-product. not 'logically' correct
  */
 void DotproductOperation::executePixelSampled(float output[4],
                                               float x,
diff --git a/source/blender/editors/transform/transform_convert_tracking.c b/source/blender/editors/transform/transform_convert_tracking.c
index 9b999b26ba3..26f956e852f 100644
--- a/source/blender/editors/transform/transform_convert_tracking.c
+++ b/source/blender/editors/transform/transform_convert_tracking.c
@@ -80,10 +80,10 @@ typedef struct TransformInitContext {
   TransInfo *t;
   TransDataContainer *tc;
 
-  /* MOTE: There pointers will be nullptr during counting step.
+  /* MOTE: There pointers will be `nullptr` during counting step.
    * This means, that the transformation data initialization functions are to increment
-   * `tc->data_len` instead of filling in the transformation data when these pointers are nullptr.
-   * For simplicitly, check the `current.td` against nullptr.
+   * `tc->data_len` instead of filling in the transformation data when these pointers are
+   * `nullptr`. For simplicity, check the `current.td` against `nullptr`.
    * Do not `tc->data_len` when filling in the transformation data. */
   struct {
     TransData *td;



More information about the Bf-blender-cvs mailing list