[Bf-blender-cvs] [d06384aa418] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Sat May 9 09:36:55 CEST 2020


Commit: d06384aa41837b905fac94b7cd888dce6c99a3b8
Author: Campbell Barton
Date:   Sat May 9 17:15:25 2020 +1000
Branches: master
https://developer.blender.org/rBd06384aa41837b905fac94b7cd888dce6c99a3b8

Cleanup: spelling

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

M	source/blender/blenkernel/intern/shrinkwrap.c
M	source/blender/blenlib/BLI_linear_allocator.hh
M	source/blender/blenlib/BLI_scanfill.h
M	source/blender/blenlib/BLI_task.h
M	source/blender/blenlib/intern/task_pool.cc
M	source/blender/blenlib/intern/task_scheduler.cc
M	source/blender/blenloader/intern/readfile.c
M	source/blender/bmesh/tools/bmesh_intersect_edges.c
M	source/blender/compositor/operations/COM_RenderLayersProg.h
M	source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
M	source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
M	source/blender/editors/interface/interface_layout.c
M	source/blender/editors/sculpt_paint/sculpt.c
M	source/blender/editors/space_action/action_data.c
M	source/blender/editors/space_node/node_relationships.c
M	source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c

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

diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c
index 06086cdf56a..c59042bc045 100644
--- a/source/blender/blenkernel/intern/shrinkwrap.c
+++ b/source/blender/blenkernel/intern/shrinkwrap.c
@@ -443,7 +443,7 @@ bool BKE_shrinkwrap_project_normal(char options,
                                    BVHTreeRayHit *hit)
 {
   /* don't use this because this dist value could be incompatible
-   * this value used by the callback for comparing prev/new dist values.
+   * this value used by the callback for comparing previous/new dist values.
    * also, at the moment there is no need to have a corrected 'dist' value */
   // #define USE_DIST_CORRECT
 
diff --git a/source/blender/blenlib/BLI_linear_allocator.hh b/source/blender/blenlib/BLI_linear_allocator.hh
index ffa81b3ac6b..285af49f500 100644
--- a/source/blender/blenlib/BLI_linear_allocator.hh
+++ b/source/blender/blenlib/BLI_linear_allocator.hh
@@ -114,8 +114,8 @@ template<typename Allocator = GuardedAllocator> class LinearAllocator : NonCopya
    *
    * Arguments passed to this method will be forwarded to the constructor of T.
    *
-   * You must not call `delete` on the returned pointer. Instead, the destructor has to be called
-   * explicitely.
+   * You must not call `delete` on the returned pointer.
+   * Instead, the destruct has to be called explicitly.
    */
   template<typename T, typename... Args> T *construct(Args &&... args)
   {
diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h
index 39d3a679eb3..376ea9d88de 100644
--- a/source/blender/blenlib/BLI_scanfill.h
+++ b/source/blender/blenlib/BLI_scanfill.h
@@ -36,7 +36,7 @@ typedef struct ScanFillContext {
   ListBase fillfacebase;
 
   /* increment this value before adding each curve to skip having to calculate
-   * 'poly_nr' for edges and verts (which can take approx half scanfill time) */
+   * 'poly_nr' for edges and verts (which can take approx half scan-fill time) */
   unsigned short poly_nr;
 
   /* private */
@@ -46,9 +46,9 @@ typedef struct ScanFillContext {
 #define BLI_SCANFILL_ARENA_SIZE MEM_SIZE_OPTIMAL(1 << 14)
 
 /**
- * \note this is USHRT_MAX so incrementing  will set to zero
+ * \note this is USHRT_MAX so incrementing will set to zero
  * which happens if callers choose to increment #ScanFillContext.poly_nr before adding each curve.
- * Nowhere else in scanfill do we make use of intentional overflow like this.
+ * Nowhere else in scan-fill do we make use of intentional overflow like this.
  */
 #define SF_POLY_UNSET ((unsigned short)-1)
 
@@ -64,7 +64,7 @@ typedef struct ScanFillVert {
   float co[3];
   /** 2D projection of vertex location */
   float xy[2];
-  /** index, caller can use how it likes to match the scanfill result with own data */
+  /** index, caller can use how it likes to match the scan-fill result with own data */
   unsigned int keyindex;
   unsigned short poly_nr;
   /** number of edges using this vertex */
diff --git a/source/blender/blenlib/BLI_task.h b/source/blender/blenlib/BLI_task.h
index ce18d5d765e..3ef693ac62a 100644
--- a/source/blender/blenlib/BLI_task.h
+++ b/source/blender/blenlib/BLI_task.h
@@ -218,7 +218,7 @@ BLI_INLINE void BLI_parallel_range_settings_defaults(TaskParallelSettings *setti
 }
 
 /* Don't use this, store any thread specific data in tls->userdata_chunk instead.
- * Ony here for code to be removed. */
+ * Only here for code to be removed. */
 int BLI_task_parallel_thread_id(const TaskParallelTLS *tls);
 
 #ifdef __cplusplus
diff --git a/source/blender/blenlib/intern/task_pool.cc b/source/blender/blenlib/intern/task_pool.cc
index b97db30d64f..d8e90af551a 100644
--- a/source/blender/blenlib/intern/task_pool.cc
+++ b/source/blender/blenlib/intern/task_pool.cc
@@ -443,7 +443,7 @@ TaskPool *BLI_task_pool_create_no_threads(void *userdata)
 }
 
 /**
- * Task pool that executeds one task after the other, possibly on different threads
+ * Task pool that executes one task after the other, possibly on different threads
  * but never in parallel.
  */
 TaskPool *BLI_task_pool_create_background_serial(void *userdata, TaskPriority priority)
diff --git a/source/blender/blenlib/intern/task_scheduler.cc b/source/blender/blenlib/intern/task_scheduler.cc
index 325056d41ee..b0245da0385 100644
--- a/source/blender/blenlib/intern/task_scheduler.cc
+++ b/source/blender/blenlib/intern/task_scheduler.cc
@@ -54,7 +54,7 @@ void BLI_task_scheduler_init()
     task_scheduler_num_threads = num_threads_override;
   }
   else {
-    /* Let TBB choose the number of threads. For (legacy) code that calss
+    /* Let TBB choose the number of threads. For (legacy) code that calls
      * BLI_task_scheduler_num_threads() we provide the system thread count.
      * Ideally such code should be rewritten not to use the number of threads
      * at all. */
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 32e5e439604..c5f9ab67c4e 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9754,7 +9754,7 @@ static bool read_libblock_undo_restore(
      * this is only for do_version-like code), but for sake of consistency, and also because
      * it will tell us which ID is re-used from old Main, and which one is actually new. */
     /* Also do not add LIB_TAG_NEED_LINK, those IDs will never be re-liblinked, hence that tag will
-     * never be cleared, leading to critical issue in link/appemd code. */
+     * never be cleared, leading to critical issue in link/append code. */
     const int id_tag = tag | LIB_TAG_UNDO_OLD_ID_REUSED;
     read_libblock_undo_restore_identical(fd, main, id, id_old, id_tag);
 
diff --git a/source/blender/bmesh/tools/bmesh_intersect_edges.c b/source/blender/bmesh/tools/bmesh_intersect_edges.c
index e2d03a65d46..3f0492aebb6 100644
--- a/source/blender/bmesh/tools/bmesh_intersect_edges.c
+++ b/source/blender/bmesh/tools/bmesh_intersect_edges.c
@@ -893,7 +893,7 @@ bool BM_mesh_intersect_edges(
 
           if (BM_vert_pair_share_face_check(va, va_dest)) {
             /* Vert par acts on the same face.
-             * Although there are cases like this where the face can be splitted,
+             * Although there are cases like this where the face can be split,
              * for efficiency it is better to ignore then. */
             continue;
           }
@@ -909,7 +909,7 @@ bool BM_mesh_intersect_edges(
 
               if (BM_vert_pair_share_face_check(v_other, v_other_dest)) {
                 /* Vert par acts on the same face.
-                 * Although there are cases like this where the face can be splitted,
+                 * Although there are cases like this where the face can be split,
                  * for efficiency and to avoid complications, it is better to ignore these cases.
                  */
                 break;
diff --git a/source/blender/compositor/operations/COM_RenderLayersProg.h b/source/blender/compositor/operations/COM_RenderLayersProg.h
index 079376c0ce1..6f84eae3252 100644
--- a/source/blender/compositor/operations/COM_RenderLayersProg.h
+++ b/source/blender/compositor/operations/COM_RenderLayersProg.h
@@ -55,7 +55,7 @@ class RenderLayersProg : public NodeOperation {
   float *m_inputBuffer;
 
   /**
-   * renderpass where this operation needs to get its data from
+   * Render-pass where this operation needs to get its data from.
    */
   std::string m_passName;
 
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
index 0f25bc0e9ef..cefe87d1e1f 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
@@ -1149,8 +1149,8 @@ void DepsgraphNodeBuilder::build_particle_systems(Object *object, bool is_object
    *     evaluation context for an object. It acts as the container
    *     for all the nodes associated with a particular set of particle
    *     systems.
-   *  2) Particle System Eval Operation - This operation node acts as a
-   *     blackbox evaluation step for one particle system referenced by
+   *  2) Particle System Evaluation Operation - This operation node acts as a
+   *     black-box evaluation step for one particle system referenced by
    *     the particle systems stack. All dependencies link to this operation. */
   /* Component for all particle systems. */
   ComponentNode *psys_comp = add_component_node(&object->id, NodeType::PARTICLE_SYSTEM);
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
index 0055c141b71..ab0a5c13321 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
@@ -141,8 +141,7 @@ void DepsgraphNodeBuilder::build_rig(Object *object, bool is_object_visible)
   Scene *scene_cow = get_cow_datablock(scene_);
   Object *object_cow = get_cow_datablock(object);
   OperationNode *op_node;
-  /* Animation and/or drivers linking posebones to base-armature used to
-   * define them.
+  /* Animation and/or drivers linking pose-bones to base-armature used to define them.
    *
    * NOTE: AnimData here is really used to control animated deform properties,
    *       which ideally should be able to be unique across different
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 9c59901083c..884e43b4026 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2080,7 +2080,7 @@ void uiItemFullR(uiLayout *layout,
   if (use_prop_sep) {
     if (type == PROP_BOOLEAN && (icon == ICON_NONE) && !icon_only) {
       use_prop_sep_split_label = false;
-      /* For checkboxes we make an expection: We allow showing them in a split row even without
+      /* For check-boxes we make an exception: We allow showing them in a split row even without
        * label. It typically relates to its neighbor items, so no need for an extra label. 

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list