[Bf-blender-cvs] [4fc54ddae18] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Mon Jan 25 22:00:22 CET 2021


Commit: 4fc54ddae18c64c27f440c7bf333f57e26f61171
Author: Campbell Barton
Date:   Tue Jan 26 07:50:40 2021 +1100
Branches: master
https://developer.blender.org/rB4fc54ddae18c64c27f440c7bf333f57e26f61171

Cleanup: spelling

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

M	intern/cycles/render/alembic.h
M	source/blender/blenkernel/intern/lib_override.c
M	source/blender/blenkernel/intern/undo_system.c
M	source/blender/editors/animation/anim_channels_edit.c
M	source/blender/editors/space_clip/space_clip.c

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

diff --git a/intern/cycles/render/alembic.h b/intern/cycles/render/alembic.h
index 307d8436668..855d774bfdb 100644
--- a/intern/cycles/render/alembic.h
+++ b/intern/cycles/render/alembic.h
@@ -45,7 +45,7 @@ template<typename> struct is_array : public std::false_type {
 template<typename T> struct is_array<array<T>> : public std::true_type {
 };
 
-/* Store the data set for an animation at every time points, or at the begining of the animation
+/* Store the data set for an animation at every time points, or at the beginning of the animation
  * for constant data.
  *
  * The data is supposed to be stored in chronological order, and is looked up using the current
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c
index b0438500413..7df0e08d405 100644
--- a/source/blender/blenkernel/intern/lib_override.c
+++ b/source/blender/blenkernel/intern/lib_override.c
@@ -422,7 +422,7 @@ static int lib_override_linked_group_tag_cb(LibraryIDLinkCallbackData *cb_data)
   return IDWALK_RET_NOP;
 }
 
-/* Tag all IDs in dependency relationships whithin an override hierarchy/group.
+/* Tag all IDs in dependency relationships within an override hierarchy/group.
  *
  * Note: this is typically called to complete `lib_override_linked_group_tag()`.
  * Note: BMain's relations mapping won't be valid anymore after that call.
@@ -464,8 +464,8 @@ static bool lib_override_hierarchy_dependencies_recursive_tag(Main *bmain,
 
 /* This will tag at least all 'boundary' linked IDs for a potential override group.
  *
- * Note that you will then need to call `lib_override_hierarchy_dependencies_recursive_tag` to
- * complete tagging of all dependencies whitin theoverride group.
+ * Note that you will then need to call #lib_override_hierarchy_dependencies_recursive_tag to
+ * complete tagging of all dependencies within the override group.
  *
  * We currently only consider Collections and Objects (that are not used as bone shapes) as valid
  * boundary IDs to define an override group.
@@ -483,7 +483,7 @@ static void lib_override_linked_group_tag(Main *bmain,
     BKE_library_foreach_ID_link(
         bmain, id, lib_override_linked_group_tag_cb, &data, IDWALK_READONLY | IDWALK_RECURSE);
 
-    /* Then, we remove (untag) bone shape objects, you shall never want to directly/explicitely
+    /* Then, we remove (untag) bone shape objects, you shall never want to directly/explicitly
      * override those. */
     LISTBASE_FOREACH (Object *, ob, &bmain->objects) {
       if (ob->type == OB_ARMATURE && ob->pose != NULL && (ob->id.tag & tag)) {
@@ -559,8 +559,8 @@ static int lib_override_local_group_tag_cb(LibraryIDLinkCallbackData *cb_data)
 
 /* This will tag at least all 'boundary' linked IDs for a potential override group.
  *
- * Note that you will then need to call `lib_override_hierarchy_dependencies_recursive_tag` to
- * complete tagging of all dependencies whitin theoverride group.
+ * Note that you will then need to call #lib_override_hierarchy_dependencies_recursive_tag to
+ * complete tagging of all dependencies within the override group.
  *
  * We currently only consider Collections and Objects (that are not used as bone shapes) as valid
  * boundary IDs to define an override group.
diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c
index e78576206de..5f99f629f42 100644
--- a/source/blender/blenkernel/intern/undo_system.c
+++ b/source/blender/blenkernel/intern/undo_system.c
@@ -586,7 +586,7 @@ UndoPushReturn BKE_undosys_step_push_with_type(UndoStack *ustack,
       BLI_strncpy(us->name, name, sizeof(us->name));
     }
     us->type = ut;
-    /* True by default, code needs to explicitely set it to false if necessary. */
+    /* True by default, code needs to explicitly set it to false if necessary. */
     us->use_old_bmain_data = true;
     /* Initialized, not added yet. */
 
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index a6e96a4d919..7e54bca4c93 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -1197,7 +1197,7 @@ static void rearrange_nla_channels(bAnimContext *ac, AnimData *adt, eRearrangeAn
   rearrange_animchannel_islands(
       &adt->nla_tracks, rearrange_func, mode, ANIMTYPE_NLATRACK, &anim_data_visible);
 
-  /* Add back non-local NLA tracks at the begining of the animation data's list. */
+  /* Add back non-local NLA tracks at the beginning of the animation data's list. */
   if (!BLI_listbase_is_empty(&extracted_nonlocal_nla_tracks)) {
     BLI_assert(is_liboverride);
     ((NlaTrack *)extracted_nonlocal_nla_tracks.last)->next = adt->nla_tracks.first;
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index a5935f06927..33783f19a79 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -994,7 +994,7 @@ static void clip_main_region_draw(const bContext *C, ARegion *region)
 
   /* callback */
   /* TODO(sergey): For being consistent with space image the projection needs to be configured
-   * the way how the commented out code does it. This works corrent for tracking data, but it
+   * the way how the commented out code does it. This works correct for tracking data, but it
    * causes wrong aspect correction for mask editor (see T84990). */
   // GPU_matrix_push_projection();
   // wmOrtho2(region->v2d.cur.xmin, region->v2d.cur.xmax, region->v2d.cur.ymin,



More information about the Bf-blender-cvs mailing list