From 6d1d1bf2b12092e9f6c435c38e1bb84f3798ac5a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 28 Sep 2022 09:41:31 +1000 Subject: Cleanup: spelling in comments Also add missing task ID. --- source/blender/blenloader/intern/readblenentry.cc | 4 ++-- source/blender/blenloader/intern/readfile.cc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/blenloader') diff --git a/source/blender/blenloader/intern/readblenentry.cc b/source/blender/blenloader/intern/readblenentry.cc index e3d6864b962..55d86371efe 100644 --- a/source/blender/blenloader/intern/readblenentry.cc +++ b/source/blender/blenloader/intern/readblenentry.cc @@ -434,8 +434,8 @@ BlendFileData *BLO_read_from_memfile(Main *oldmain, * but oldmain itself shall *never* be 'transferred' to new mainlist! */ BLI_assert(old_mainlist.first == oldmain); - /* That way, libs (aka mains) we did not reuse in new undone/redone state - * will be cleared together with oldmain... */ + /* That way, libraries (aka mains) we did not reuse in new undone/redone state + * will be cleared together with `oldmain`. */ blo_join_main(&old_mainlist); blo_filedata_free(fd); diff --git a/source/blender/blenloader/intern/readfile.cc b/source/blender/blenloader/intern/readfile.cc index 46ae207db48..7c07d373999 100644 --- a/source/blender/blenloader/intern/readfile.cc +++ b/source/blender/blenloader/intern/readfile.cc @@ -2261,7 +2261,7 @@ void blo_do_versions_key_uidgen(Key *key) #ifdef USE_SETSCENE_CHECK /** - * A version of #BKE_scene_validate_setscene with special checks for linked libs. + * A version of #BKE_scene_validate_setscene with special checks for linked libraries. */ static bool scene_validate_setscene__liblink(Scene *sce, const int totscene) { @@ -2904,7 +2904,7 @@ static void fix_relpaths_library(const char *basepath, Main *main) else { LISTBASE_FOREACH (Library *, lib, &main->libraries) { /* Libraries store both relative and abs paths, recreate relative paths, - * relative to the blend file since indirectly linked libs will be + * relative to the blend file since indirectly linked libraries will be * relative to their direct linked library. */ if (BLI_path_is_rel(lib->filepath)) { /* if this is relative to begin with? */ BLI_strncpy(lib->filepath, lib->filepath_abs, sizeof(lib->filepath)); @@ -3151,7 +3151,7 @@ static bool read_libblock_is_identical(FileData *fd, BHead *bhead) /* For undo, restore matching library datablock from the old main. */ static bool read_libblock_undo_restore_library(FileData *fd, Main *main, const ID *id) { - /* In undo case, most libs and linked data should be kept as is from previous state + /* In undo case, most libraries and linked data should be kept as is from previous state * (see BLO_read_from_memfile). * However, some needed by the snapshot being read may have been removed in previous one, * and would go missing. @@ -4586,7 +4586,7 @@ static void library_link_end(Main *mainl, FileData **fd, const int flag) /* make main consistent */ BLO_expand_main(*fd, mainl); - /* do this when expand found other libs */ + /* Do this when expand found other libraries. */ read_libraries(*fd, (*fd)->mainlist); curlib = mainl->curlib; -- cgit v1.2.3