Fix duplicated code after merge from release branch

a280554b75 was committed to fix this in main, b5fa180d5d for the release
branch. Only one is needed though :)
This commit is contained in:
2023-02-21 15:27:51 +01:00
parent 7fb1f060ff
commit a55e38e05d

View File

@@ -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]) {