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

Campbell Barton noreply at git.blender.org
Wed Sep 15 03:15:42 CEST 2021


Commit: e1714ce8c90974f563d5071e4a67a249e7626fb3
Author: Campbell Barton
Date:   Wed Sep 15 10:50:36 2021 +1000
Branches: master
https://developer.blender.org/rBe1714ce8c90974f563d5071e4a67a249e7626fb3

Cleanup: spelling

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

M	source/blender/editors/space_outliner/outliner_draw.c
M	source/blender/windowmanager/WM_types.h
M	source/blender/windowmanager/intern/wm_files_link.c

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

diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index a094dfb0834..c06a1010168 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -2633,7 +2633,7 @@ TreeElementIcon tree_element_get_icon(TreeStoreElem *tselem, TreeElement *te)
             data.icon = ICON_FILE_TEXT;
           }
           else {
-            /* Helps distinguish text-based formats like the filebrowser does. */
+            /* Helps distinguish text-based formats like the file-browser does. */
             data.icon = ED_file_extension_icon(text->filepath);
           }
           break;
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 8a1ff67b37c..c1730957432 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -925,7 +925,7 @@ typedef struct wmDragID {
 } wmDragID;
 
 typedef struct wmDragAsset {
-  /* Note: Can't store the AssetHandle here, since the FileDirEntry it wraps may be freed while
+  /* NOTE: Can't store the #AssetHandle here, since the #FileDirEntry it wraps may be freed while
    * dragging. So store necessary data here directly. */
 
   char name[64]; /* MAX_NAME */
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index 512320d3850..2416f5b50b3 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -460,7 +460,7 @@ static void wm_append_loose_data_instantiate(WMLinkAppendData *lapp_data,
           lapp_data, bmain, scene, view_layer, &active_collection);
 
       /* In case user requested instantiation of collections as empties, we do so for the one they
-       * explicitely selected (originally directly linked IDs). */
+       * explicitly selected (originally directly linked IDs). */
       if ((lapp_data->flag & FILE_COLLECTION_INSTANCE) != 0 &&
           (item->append_tag & WM_APPEND_TAG_INDIRECT) == 0) {
         /* BKE_object_add(...) messes with the selection. */
@@ -588,7 +588,7 @@ static int foreach_libblock_append_callback(LibraryIDLinkCallbackData *cb_data)
   if (item == NULL) {
     item = wm_link_append_data_item_add(data->lapp_data, id->name, GS(id->name), NULL);
     item->new_id = id;
-    /* Since we did not have an item for that ID yet, we now user did not selected it explicitely,
+    /* Since we did not have an item for that ID yet, we now user did not selected it explicitly,
      * it was rather linked indirectly. This info is important for instantiation of collections. */
     item->append_tag |= WM_APPEND_TAG_INDIRECT;
     BLI_ghash_insert(data->lapp_data->new_id_to_item, id, item);
@@ -603,8 +603,9 @@ static int foreach_libblock_append_callback(LibraryIDLinkCallbackData *cb_data)
 /* Perform append operation, using modern ID usage looper to detect which ID should be kept linked,
  * made local, duplicated as local, re-used from local etc.
  *
- * TODO: Expose somehow this logic to the two other parts of code performing actual append  (i.e.
- * copy/paste and bpy link/append API). Then we can heavily simplify `BKE_library_make_local()`. */
+ * TODO: Expose somehow this logic to the two other parts of code performing actual append
+ * (i.e. copy/paste and `bpy` link/append API).
+ * Then we can heavily simplify #BKE_library_make_local(). */
 static void wm_append_do(WMLinkAppendData *lapp_data,
                          ReportList *reports,
                          Main *bmain,
@@ -630,7 +631,7 @@ static void wm_append_do(WMLinkAppendData *lapp_data,
     BLI_ghash_insert(lapp_data->new_id_to_item, id, item);
   }
 
-  /* Note: Since we append items for IDs not already listed (i.e. implicitely linked indirect
+  /* NOTE: Since we append items for IDs not already listed (i.e. implicitly linked indirect
    * dependencies), this list will grow and we will process those IDs later, leading to a flatten
    * recursive processing of all the linked dependencies. */
   for (itemlink = lapp_data->items.list; itemlink; itemlink = itemlink->next) {
@@ -641,7 +642,7 @@ static void wm_append_do(WMLinkAppendData *lapp_data,
     }
     BLI_assert(item->customdata == NULL);
 
-    /* Clear tag previously used to mark IDs needing post-processing (instanciation of loose
+    /* Clear tag previously used to mark IDs needing post-processing (instantiation of loose
      * objects etc.). */
     id->tag &= ~LIB_TAG_DOIT;



More information about the Bf-blender-cvs mailing list