Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-24 04:31:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-24 04:31:23 +0300
commitbc65c7d0e579c19169baf8be609afa066712c2cc (patch)
treeae61716f08a9351c2cbd7940ddd0278863eb0e37 /source/blender/blenkernel/BKE_asset_catalog.hh
parent599d96e8f96f2fd40c51c9949091559b5f162869 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/BKE_asset_catalog.hh')
-rw-r--r--source/blender/blenkernel/BKE_asset_catalog.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_asset_catalog.hh b/source/blender/blenkernel/BKE_asset_catalog.hh
index 0401fae7126..5fd68e33f4a 100644
--- a/source/blender/blenkernel/BKE_asset_catalog.hh
+++ b/source/blender/blenkernel/BKE_asset_catalog.hh
@@ -69,7 +69,7 @@ class AssetCatalogService {
* still have to be saved.
*
* Return true on success, which either means there were no in-memory categories to save, or the
- * save was succesfful. */
+ * save was successful. */
bool write_to_disk(const CatalogFilePath &directory_for_new_files);
/**
@@ -96,7 +96,7 @@ class AssetCatalogService {
AssetCatalogTree *get_catalog_tree();
- /** Return true iff there are no catalogs known. */
+ /** Return true only if there are no catalogs known. */
bool is_empty() const;
protected:
@@ -196,7 +196,7 @@ class AssetCatalogDefinitionFile {
bool write_to_disk(const CatalogFilePath &dest_file_path) const;
bool contains(CatalogID catalog_id) const;
- /* Add a new catalog. Undefined behaviour if a catalog with the same ID was already added. */
+ /* Add a new catalog. Undefined behavior if a catalog with the same ID was already added. */
void add_new(AssetCatalog *catalog);
using AssetCatalogParsedFn = FunctionRef<bool(std::unique_ptr<AssetCatalog>)>;
@@ -230,9 +230,9 @@ class AssetCatalog {
CatalogPath path;
/**
* Simple, human-readable name for the asset catalog. This is stored on assets alongside the
- * catalog ID; the catalog ID is a UUID that is not human-readable, so to avoid complete dataloss
- * when the catalog definition file gets lost, we also store a human-readable simple name for the
- * catalog. */
+ * catalog ID; the catalog ID is a UUID that is not human-readable,
+ * so to avoid complete data-loss when the catalog definition file gets lost,
+ * we also store a human-readable simple name for the catalog. */
std::string simple_name;
struct Flags {
@@ -242,7 +242,7 @@ class AssetCatalog {
} flags;
/**
- * Create a new Catalog with the given path, auto-generating a sensible catalog simplename.
+ * Create a new Catalog with the given path, auto-generating a sensible catalog simple-name.
*
* NOTE: the given path will be cleaned up (trailing spaces removed, etc.), so the returned
* `AssetCatalog`'s path differ from the given one.