[Bf-blender-cvs] [022f8b552d7] master: Cleanup: spelling in comments

Campbell Barton noreply at git.blender.org
Sat Jun 5 07:05:40 CEST 2021


Commit: 022f8b552d7c8efe39527ec49a593a706fa0c8fc
Author: Campbell Barton
Date:   Sat Jun 5 15:03:09 2021 +1000
Branches: master
https://developer.blender.org/rB022f8b552d7c8efe39527ec49a593a706fa0c8fc

Cleanup: spelling in comments

Also remove reference to function that never existed for adding `bNode`.

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

M	intern/ghost/intern/GHOST_SystemWayland.cpp
M	source/blender/blenkernel/intern/collection.c
M	source/blender/blenlib/intern/memory_utils.c
M	source/blender/editors/space_node/node_edit.cc

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

diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index 1d2a349fdf1..83b9b2ba36b 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -1729,7 +1729,7 @@ GHOST_TSuccess GHOST_SystemWayland::setCursorShape(GHOST_TStandardCursor shape)
   cursor_t *c = &input->cursor;
 
   if (!c->theme) {
-    /* The cursor surface hasn't entered an output yet. Initialise theme with scale 1. */
+    /* The cursor surface hasn't entered an output yet. Initialize theme with scale 1. */
     c->theme = wl_cursor_theme_load(c->theme_name.c_str(), c->size, d->inputs[0]->system->shm());
   }
 
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index 5a7fe71de8e..7b1aaf04640 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -1643,7 +1643,7 @@ void BKE_collection_parent_relations_rebuild(Collection *collection)
       continue;
     }
 
-    /* Can happen when remaping data partially out-of-Main (during advanced ID management
+    /* Can happen when remapping data partially out-of-Main (during advanced ID management
      * operations like liboverride resync e.g.). */
     if ((child->collection->id.tag & (LIB_TAG_NO_MAIN | LIB_TAG_COPIED_ON_WRITE)) != 0) {
       continue;
diff --git a/source/blender/blenlib/intern/memory_utils.c b/source/blender/blenlib/intern/memory_utils.c
index d477c20a242..5ca7b96c136 100644
--- a/source/blender/blenlib/intern/memory_utils.c
+++ b/source/blender/blenlib/intern/memory_utils.c
@@ -31,7 +31,7 @@
 #include "BLI_strict_flags.h"
 
 /**
- * Check if memory is zero'd, as with memset(arr, 0, arr_size)
+ * Check if memory is zeroed, as with `memset(arr, 0, arr_size)`.
  */
 bool BLI_memory_is_zero(const void *arr, const size_t arr_size)
 {
diff --git a/source/blender/editors/space_node/node_edit.cc b/source/blender/editors/space_node/node_edit.cc
index 90df7e80c38..d86b069aac3 100644
--- a/source/blender/editors/space_node/node_edit.cc
+++ b/source/blender/editors/space_node/node_edit.cc
@@ -753,7 +753,7 @@ void ED_node_set_active(Main *bmain, bNodeTree *ntree, bNode *node, bool *r_acti
           ED_node_tag_update_nodetree(bmain, ntree, node);
         }
 
-        /* addnode() doesn't link this yet... */
+        /* Adding a node doesn't link this yet. */
         node->id = (ID *)BKE_image_ensure_viewer(bmain, IMA_TYPE_COMPOSITE, "Viewer Node");
       }
       else if (node->type == CMP_NODE_COMPOSITE) {



More information about the Bf-blender-cvs mailing list