summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-26 13:45:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-26 13:45:25 +0100
commit23f55c06fbb7bbfa1a41d06c52c1ef0c717bee46 (patch)
tree84a420e7360e718b4938886f1ad9f09dd585fb11 /core
parent37766c4ef8d5104b210f38e97a600a126e7f9e6f (diff)
parent5f89b150980f41153d7dd698dca5d6839e3d0b75 (diff)
downloadredot-engine-23f55c06fbb7bbfa1a41d06c52c1ef0c717bee46.tar.gz
Merge pull request #89677 from enetheru/patch-2
Print correct path when unable to find GDExtension library
Diffstat (limited to 'core')
-rw-r--r--core/extension/gdextension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/extension/gdextension.cpp b/core/extension/gdextension.cpp
index 5d43dceece..0ed4c3380c 100644
--- a/core/extension/gdextension.cpp
+++ b/core/extension/gdextension.cpp
@@ -735,7 +735,7 @@ Error GDExtension::open_library(const String &p_path, const String &p_entry_symb
bool library_copied = false;
if (Engine::get_singleton()->is_editor_hint()) {
if (!FileAccess::exists(abs_path)) {
- ERR_PRINT("GDExtension library not found: " + library_path);
+ ERR_PRINT("GDExtension library not found: " + abs_path);
return ERR_FILE_NOT_FOUND;
}
@@ -750,7 +750,7 @@ Error GDExtension::open_library(const String &p_path, const String &p_entry_symb
Error copy_err = DirAccess::copy_absolute(abs_path, copy_path);
if (copy_err) {
- ERR_PRINT("Error copying GDExtension library: " + library_path);
+ ERR_PRINT("Error copying GDExtension library: " + abs_path);
return ERR_CANT_CREATE;
}
FileAccess::set_hidden_attribute(copy_path, true);