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:
authorSybren A. Stüvel <sybren@blender.org>2021-09-23 18:31:09 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-23 18:58:20 +0300
commit93997f9d0a44a83105537e130abc3b80fd5b9fc9 (patch)
tree4b9ea387cb936460d0ff2a2c8ec9a81732b12782
parentd7f803f522237be41c6ede50dde38b3d6795b161 (diff)
Cleanup: asset catalogs, correct assertion message
There is no such thing as a "relative path" when it comes to asset catalog paths (they're always absolute). No functional changes.
-rw-r--r--source/blender/blenkernel/intern/asset_catalog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/asset_catalog.cc b/source/blender/blenkernel/intern/asset_catalog.cc
index 2e56ca1392d..20f2dc0a571 100644
--- a/source/blender/blenkernel/intern/asset_catalog.cc
+++ b/source/blender/blenkernel/intern/asset_catalog.cc
@@ -271,7 +271,7 @@ std::unique_ptr<AssetCatalogTree> AssetCatalogService::read_into_tree()
AssetCatalogTreeItem::ChildMap *insert_to_map = &tree->children_;
BLI_assert_msg(!ELEM(catalog->path[0], '/', '\\'),
- "Malformed catalog path: Path should be formatted like a relative path");
+ "Malformed catalog path; should not start with a separator");
const char *next_slash_ptr;
/* Looks more complicated than it is, this just iterates over path components. E.g.