Fix duplicated code after merge from release branch
a280554b75was committed to fix this in main,b5fa180d5dfor the release branch. Only one is needed though :)
This commit is contained in:
@@ -218,10 +218,6 @@ std::string AssetLibraryService::root_path_from_library_ref(
|
||||
return essentials_directory_path();
|
||||
}
|
||||
|
||||
if (ELEM(library_reference.type, ASSET_LIBRARY_ESSENTIALS)) {
|
||||
return essentials_directory_path();
|
||||
}
|
||||
|
||||
bUserAssetLibrary *custom_library = find_custom_asset_library_from_library_ref(
|
||||
library_reference);
|
||||
if (!custom_library || !custom_library->path[0]) {
|
||||
|
||||
Reference in New Issue
Block a user