diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:51 +0300 |
commit | 09b89da349fd08aea811cc770cf627fbda6d75ba (patch) | |
tree | b2795b0bdbf3cb391b597800340000865bb3685f /source/blender/editors/asset | |
parent | d3c454d66c0a730eafa7edecec158ca3b9edb2d7 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/editors/asset')
-rw-r--r-- | source/blender/editors/asset/asset_edit.cc | 6 | ||||
-rw-r--r-- | source/blender/editors/asset/asset_list.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/asset/asset_edit.cc b/source/blender/editors/asset/asset_edit.cc index 0937af0dbf1..f4860737193 100644 --- a/source/blender/editors/asset/asset_edit.cc +++ b/source/blender/editors/asset/asset_edit.cc @@ -82,13 +82,13 @@ bool ED_asset_can_make_single_from_context(const bContext *C) } /* TODO better place? */ -/* TODO What about the setter and the itemf? */ +/* TODO What about the setter and the `itemf` callback? */ #include "BKE_preferences.h" #include "DNA_asset_types.h" #include "DNA_userdef_types.h" int ED_asset_library_reference_to_enum_value(const AssetLibraryReference *library) { - /* Simple case: Predefined repo, just set the value. */ + /* Simple case: Predefined repository, just set the value. */ if (library->type < ASSET_LIBRARY_CUSTOM) { return library->type; } @@ -109,7 +109,7 @@ AssetLibraryReference ED_asset_library_reference_from_enum_value(int value) { AssetLibraryReference library; - /* Simple case: Predefined repo, just set the value. */ + /* Simple case: Predefined repository, just set the value. */ if (value < ASSET_LIBRARY_CUSTOM) { library.type = value; library.custom_library_index = -1; diff --git a/source/blender/editors/asset/asset_list.cc b/source/blender/editors/asset/asset_list.cc index e8ed3958231..dd1c5f360a0 100644 --- a/source/blender/editors/asset/asset_list.cc +++ b/source/blender/editors/asset/asset_list.cc @@ -60,7 +60,7 @@ class AssetLibraryReferenceWrapper { const AssetLibraryReference reference_; public: - /* Intentionally not `explicit`, allow implicit conversion for convienience. Might have to be + /* Intentionally not `explicit`, allow implicit conversion for convenience. Might have to be * NOLINT */ AssetLibraryReferenceWrapper(const AssetLibraryReference &reference); ~AssetLibraryReferenceWrapper() = default; @@ -348,7 +348,7 @@ void AssetList::tagMainDataDirty() const void AssetList::remapID(ID * /*id_old*/, ID * /*id_new*/) const { - /* Trigger full refetch of the file list if main data was changed, don't even attempt remap + /* Trigger full re-fetch of the file list if main data was changed, don't even attempt remap * pointers. We could give file list types a id-remap callback, but it's probably not worth it. * Refreshing local file lists is relatively cheap. */ tagMainDataDirty(); @@ -605,7 +605,7 @@ int ED_assetlist_size(const AssetLibraryReference *library_reference) } /** - * Tag all asset lists in the storage that show main data as needing an update (refetch). + * Tag all asset lists in the storage that show main data as needing an update (re-fetch). * * This only tags the data. If the asset list is visible on screen, the space is still responsible * for ensuring the necessary redraw. It can use #ED_assetlist_listen() to check if the asset-list |