diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:31:09 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:58:20 +0300 |
commit | 93997f9d0a44a83105537e130abc3b80fd5b9fc9 (patch) | |
tree | 4b9ea387cb936460d0ff2a2c8ec9a81732b12782 /source/blender/blenkernel | |
parent | d7f803f522237be41c6ede50dde38b3d6795b161 (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.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/asset_catalog.cc | 2 |
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. |