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.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user