From 4ec93f73a587e930781f072d2222d2b34d45776d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Apr 2024 09:08:42 +1000 Subject: [PATCH] Cleanup: spelling in comments --- source/blender/blenkernel/intern/lib_query_test.cc | 2 +- source/blender/editors/space_node/clipboard.cc | 11 ++++++----- tools/check_source/check_spelling_config.py | 2 ++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/source/blender/blenkernel/intern/lib_query_test.cc b/source/blender/blenkernel/intern/lib_query_test.cc index 86488a76a92..df18afe78be 100644 --- a/source/blender/blenkernel/intern/lib_query_test.cc +++ b/source/blender/blenkernel/intern/lib_query_test.cc @@ -166,7 +166,7 @@ TEST(lib_query, libquery_basic) FOREACH_MAIN_ID_END; /* Set an invalid usercount value to IDs directly used by the scene. This includes these used by - * its embedded IDs, like the master collection, and the scene itself (through the loopback + * its embedded IDs, like the master collection, and the scene itself (through the loop-back * pointers of embedded IDs to their owner). */ auto set_count = [](LibraryIDLinkCallbackData *cb_data) -> int { if (*(cb_data->id_pointer)) { diff --git a/source/blender/editors/space_node/clipboard.cc b/source/blender/editors/space_node/clipboard.cc index a569e337b30..8cf7ec80cad 100644 --- a/source/blender/editors/space_node/clipboard.cc +++ b/source/blender/editors/space_node/clipboard.cc @@ -31,11 +31,12 @@ struct NodeClipboardItemIDInfo { /** Name of the referenced ID. */ std::string id_name = ""; /** - * Library filepath of the referenced ID, together with its name it forms a unique identifer. + * Library filepath of the referenced ID, together with its name it forms a unique identifier. * * Note: Library reference is stored as an absolute path. Since the Node clipboard is runtime - * data, persistent over new blendfiles opening, this should guarantee that identical IDs from - * identical libraries can be matched accordingly, even accross several blendfiles. */ + * data, persistent over new blend-files opening, this should guarantee that identical IDs from + * identical libraries can be matched accordingly, even across several blend-files. + */ std::string library_path = ""; /** The validated ID pointer (may be the same as the original one, or a new one). */ @@ -112,8 +113,8 @@ struct NodeClipboard { * * NOTE: Due to the fact that the clipboard survives file loading, only name (including IDType) * and libpath pairs can be used here. - * - UID cannot be trusted accross file load. - * - ID pointer itself cannot be trusted accross undo/redo and fileload. */ + * - UID cannot be trusted across file load. + * - ID pointer itself cannot be trusted across undo/redo and file-load. */ auto validate_id_fn = [this, &is_valid, &bmain, &bmain_id_map, &libraries_path_to_id]( LibraryIDLinkCallbackData *cb_data) -> int { ID *old_id = *(cb_data->id_pointer); diff --git a/tools/check_source/check_spelling_config.py b/tools/check_source/check_spelling_config.py index d196727c075..f98ac646d90 100644 --- a/tools/check_source/check_spelling_config.py +++ b/tools/check_source/check_spelling_config.py @@ -276,6 +276,7 @@ dict_custom = { "precomputed", "precomputing", "prefetch", + "prefetched", "prefetching", "prefilter", "prefiltered", @@ -345,6 +346,7 @@ dict_custom = { "retarget", "retiming", "reusability", + "rotationally", "saveable", "schemas", "scrollable",