From 9e96c6d05488370cd74c89b69b306da6f5e4de69 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 5 Jun 2020 14:34:00 +1000 Subject: Cleanup: spelling --- source/blender/blenloader/BLO_undofile.h | 2 +- source/blender/blenloader/intern/readfile.c | 4 ++-- source/blender/blenloader/intern/versioning_290.c | 2 +- source/blender/blenloader/intern/writefile.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenloader') diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index 175aa4ab9d0..f9300f8a521 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -39,7 +39,7 @@ typedef struct { * detect unchanged IDs). * Defined when writing the next step (i.e. last undo step has those always false). */ bool is_identical_future; - /** Session uuid of the ID being curently written (MAIN_ID_SESSION_UUID_UNSET when not writing + /** Session UUID of the ID being currently written (MAIN_ID_SESSION_UUID_UNSET when not writing * ID-related data). Used to find matching chunks in previous memundo step. */ uint id_session_uuid; } MemFileChunk; diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index db0187d0486..501e8de678d 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2890,8 +2890,8 @@ static void direct_link_id_common( id->tag = tag; if (tag & LIB_TAG_ID_LINK_PLACEHOLDER) { - /* For placeholder we only need to set the tag and properly init generic ID fieds above, no - * further data to read. */ + /* For placeholder we only need to set the tag and properly initialize generic ID fields above, + * no further data to read. */ return; } diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 1aa569d8336..ed23b69c623 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -244,7 +244,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) } if (!MAIN_VERSION_ATLEAST(bmain, 290, 4)) { - /* Clear old deprecated bitflag from edit weights modifiers, we now use it for something else. + /* Clear old deprecated bit-flag from edit weights modifiers, we now use it for something else. */ LISTBASE_FOREACH (Object *, ob, &bmain->objects) { LISTBASE_FOREACH (ModifierData *, md, &ob->modifiers) { diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index ca46579099f..70d4d1ba5ed 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -4183,7 +4183,7 @@ static bool write_file_handle(Main *mainvar, memcpy(id_buffer, id, idtype_struct_size); ((ID *)id_buffer)->tag = 0; - /* Those listbase data change everytime we add/remove an ID, and also often when renaming + /* Those listbase data change every time we add/remove an ID, and also often when renaming * one (due to re-sorting). This avoids generating a lot of false 'is changed' detections * between undo steps. */ ((ID *)id_buffer)->prev = NULL; -- cgit v1.2.3