소스 검색

Merge pull request #55876 from bradc6/feature/AllowForAbsoluteLibraryPaths

Rémi Verschelde 3 년 전
부모
커밋
b9b78fdaee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/extension/native_extension.cpp

+ 1 - 1
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);
 	}