Fix new essentials asset library not being covered in library path query
This commit is contained in:
@@ -215,6 +215,10 @@ std::string AssetLibraryService::root_path_from_library_ref(
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ELEM(library_reference.type, ASSET_LIBRARY_ESSENTIALS)) {
|
||||||
|
return essentials_directory_path();
|
||||||
|
}
|
||||||
|
|
||||||
bUserAssetLibrary *custom_library = find_custom_asset_library_from_library_ref(
|
bUserAssetLibrary *custom_library = find_custom_asset_library_from_library_ref(
|
||||||
library_reference);
|
library_reference);
|
||||||
if (!custom_library || !custom_library->path[0]) {
|
if (!custom_library || !custom_library->path[0]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user