diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-05 07:34:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-05 07:34:00 +0300 |
commit | 9e96c6d05488370cd74c89b69b306da6f5e4de69 (patch) | |
tree | c443908c02f3eb6386aab015fce8d78a9bdc2798 /source/blender/blenloader | |
parent | b2d1c4873fd5ee6244490e47836dd24c83955574 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
4 files changed, 5 insertions, 5 deletions
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; |