1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

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

View File

@@ -426,7 +426,7 @@ Ref<Resource> NativeExtensionResourceLoader::load(const String &p_path, const St
return Ref<Resource>(); 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); library_path = p_path.get_base_dir().plus_file(library_path);
} }