diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-10 13:38:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 13:38:41 +0200 |
commit | b9b78fdaee9a55bb7d1741752ab1a84a325addba (patch) | |
tree | ad7beb706d12d9114dd37822b01f8567e2cffc09 | |
parent | 055ac8bb78dcd5e4496fc8c9b46fe05621a0fd94 (diff) | |
parent | 4fd2706afd6f601131f7d7d73f8b37d7a554d596 (diff) |
Merge pull request #55876 from bradc6/feature/AllowForAbsoluteLibraryPaths
-rw-r--r-- | core/extension/native_extension.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/native_extension.cpp b/core/extension/native_extension.cpp index db1cbd53b4..5738b42049 100644 --- a/core/extension/native_extension.cpp +++ b/core/extension/native_extension.cpp @@ -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); } |