[Bf-blender-cvs] [93197c4660d] master: Cleanup: spelling in comments

Campbell Barton noreply at git.blender.org
Wed Oct 20 00:32:33 CEST 2021


Commit: 93197c4660daaaa40527a701570f55ad76a99eb3
Author: Campbell Barton
Date:   Wed Oct 20 09:19:21 2021 +1100
Branches: master
https://developer.blender.org/rB93197c4660daaaa40527a701570f55ad76a99eb3

Cleanup: spelling in comments

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

M	source/blender/blenlib/BLI_kdtree.h
M	source/blender/blenlib/BLI_kdtree_impl.h
M	source/blender/blenloader/BLO_readfile.h
M	source/blender/bmesh/tools/bmesh_intersect.c
M	source/blender/editors/transform/transform_convert.c
M	source/blender/gpu/GPU_index_buffer.h
M	source/blender/makesdna/DNA_node_types.h

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

diff --git a/source/blender/blenlib/BLI_kdtree.h b/source/blender/blenlib/BLI_kdtree.h
index 76f39dfbacb..bb61ba17d99 100644
--- a/source/blender/blenlib/BLI_kdtree.h
+++ b/source/blender/blenlib/BLI_kdtree.h
@@ -22,7 +22,7 @@ extern "C" {
 
 /** \file
  * \ingroup bli
- * \brief A kd-tree for nearest neighbor search.
+ * \brief A KD-tree for nearest neighbor search.
  */
 
 /* 1D version */
diff --git a/source/blender/blenlib/BLI_kdtree_impl.h b/source/blender/blenlib/BLI_kdtree_impl.h
index 4b2a37830ae..26a22fc2ac4 100644
--- a/source/blender/blenlib/BLI_kdtree_impl.h
+++ b/source/blender/blenlib/BLI_kdtree_impl.h
@@ -16,7 +16,7 @@
 
 /** \file
  * \ingroup bli
- * \brief A kd-tree for nearest neighbor search.
+ * \brief A KD-tree for nearest neighbor search.
  */
 
 #include "BLI_compiler_attrs.h"
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h
index 541483d4eed..d2631840f74 100644
--- a/source/blender/blenloader/BLO_readfile.h
+++ b/source/blender/blenloader/BLO_readfile.h
@@ -220,7 +220,7 @@ typedef enum eBLOLibLinkFlags {
   BLO_LIBLINK_NEEDS_ID_TAG_DOIT = 1 << 18,
   /** Set fake user on appended IDs. */
   BLO_LIBLINK_APPEND_SET_FAKEUSER = 1 << 19,
-  /** Append (make local) also indirect dependencies of appended IDs comming from other libraries.
+  /** Append (make local) also indirect dependencies of appended IDs coming from other libraries.
    * NOTE: All IDs (including indirectly linked ones) coming from the same initial library are
    * always made local. */
   BLO_LIBLINK_APPEND_RECURSIVE = 1 << 20,
diff --git a/source/blender/bmesh/tools/bmesh_intersect.c b/source/blender/bmesh/tools/bmesh_intersect.c
index d51661a08bb..947442c7bd8 100644
--- a/source/blender/bmesh/tools/bmesh_intersect.c
+++ b/source/blender/bmesh/tools/bmesh_intersect.c
@@ -901,7 +901,7 @@ static int isect_bvhtree_point_v3(BVHTree *tree, const float **looptris, const f
   const float dir[3] = {1.0f, 0.0f, 0.0f};
 
   /* Need to initialize hit even tho it's not used.
-   * This is to make it so kd-tree believes we didn't intersect anything and
+   * This is to make it so KD-tree believes we didn't intersect anything and
    * keeps calling the intersect callback.
    */
   hit.index = -1;
diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c
index 00be756878b..781bf221dd2 100644
--- a/source/blender/editors/transform/transform_convert.c
+++ b/source/blender/editors/transform/transform_convert.c
@@ -228,7 +228,7 @@ static void set_prop_dist(TransInfo *t, const bool with_dist)
    * Used to find #TransData from the index returned by #BLI_kdtree_find_nearest. */
   TransData **td_table = MEM_mallocN(sizeof(*td_table) * td_table_len, __func__);
 
-  /* Create and fill kd-tree of selected's positions - in global or proj_vec space. */
+  /* Create and fill KD-tree of selected's positions - in global or proj_vec space. */
   KDTree_3d *td_tree = BLI_kdtree_3d_new(td_table_len);
 
   int td_table_index = 0;
diff --git a/source/blender/gpu/GPU_index_buffer.h b/source/blender/gpu/GPU_index_buffer.h
index 197077cf76c..e4f1709173e 100644
--- a/source/blender/gpu/GPU_index_buffer.h
+++ b/source/blender/gpu/GPU_index_buffer.h
@@ -56,7 +56,7 @@ GPUIndexBuf *GPU_indexbuf_build_on_device(uint index_len);
 /*
  * Thread safe.
  *
- * Function inspired by the reduction directives of multithread work APIs..
+ * Function inspired by the reduction directives of multi-thread work API's.
  */
 void GPU_indexbuf_join(GPUIndexBufBuilder *builder, const GPUIndexBufBuilder *builder_from);
 
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index e6d02923dfe..12b81433ffd 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -1529,7 +1529,7 @@ typedef struct NodeGeometryRaycast {
   /* CustomDataType. */
   int8_t data_type;
 
-  /* Deprecated input types in new Raycast node. Can be removed when legacy nodes are no longer
+  /* Deprecated input types in new Ray-cast node. Can be removed when legacy nodes are no longer
    * supported. */
   uint8_t input_type_ray_direction;
   uint8_t input_type_ray_length;



More information about the Bf-blender-cvs mailing list