Merge pull request #55876 from bradc6/feature/AllowForAbsoluteLibraryPaths

This commit is contained in:
Rémi Verschelde 2022-05-10 13:38:41 +02:00 committed by GitHub
commit b9b78fdaee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,7 @@ Ref<Resource> NativeExtensionResourceLoader::load(const String &p_path, const St
return Ref<Resource>();
}
if (!library_path.is_resource_file()) {
if (!library_path.is_resource_file() && !library_path.is_absolute_path()) {
library_path = p_path.get_base_dir().plus_file(library_path);
}