diff options
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.cc | 4 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.cc b/source/blender/blenloader/intern/readfile.cc index 17c462825c7..71708c09c01 100644 --- a/source/blender/blenloader/intern/readfile.cc +++ b/source/blender/blenloader/intern/readfile.cc @@ -2441,7 +2441,7 @@ static int lib_link_main_data_restore_cb(LibraryIDLinkCallbackData *cb_data) struct IDNameLib_Map *id_map = static_cast<IDNameLib_Map *>(cb_data->user_data); - /* NOTE: Handling of usercount here is really bad, defining its own system... + /* NOTE: Handling of user-count here is really bad, defining its own system... * Will have to be refactored at some point, but that is not top priority task for now. * And all user-counts are properly recomputed at the end of the undo management code anyway. */ *id_pointer = static_cast<ID *>(restore_pointer_by_name( @@ -4777,7 +4777,7 @@ static void read_library_linked_ids(FileData *basefd, } /* `realid` shall never be nullptr - unless some source file/lib is broken - * (known case: some directly linked shapekey from a missing lib...). */ + * (known case: some directly linked shape-key from a missing lib...). */ // BLI_assert(*realid != nullptr); /* Now that we have a real ID, replace all pointers to placeholders in diff --git a/source/blender/blenloader/intern/writefile.cc b/source/blender/blenloader/intern/writefile.cc index 5f326a68018..6b7c4489eee 100644 --- a/source/blender/blenloader/intern/writefile.cc +++ b/source/blender/blenloader/intern/writefile.cc @@ -1161,7 +1161,7 @@ static bool write_file_handle(Main *mainvar, /* We only write unused IDs in undo case. * NOTE: All Scenes, WindowManagers and WorkSpaces should always be written to disk, so - * their usercount should never be nullptr currently. */ + * their user-count should never be nullptr currently. */ if (id->us == 0 && !wd->use_memfile) { BLI_assert(!ELEM(GS(id->name), ID_SCE, ID_WM, ID_WS)); continue; @@ -1176,7 +1176,7 @@ static bool write_file_handle(Main *mainvar, if (wd->use_memfile) { /* Record the changes that happened up to this undo push in - * recalc_up_to_undo_push, and clear recalc_after_undo_push again + * recalc_up_to_undo_push, and clear `recalc_after_undo_push` again * to start accumulating for the next undo push. */ id->recalc_up_to_undo_push = id->recalc_after_undo_push; id->recalc_after_undo_push = 0; |