This commit is contained in:
Arctis-Fireblight
2025-08-27 23:18:33 -05:00
177 changed files with 1631 additions and 967 deletions

View File

@@ -898,7 +898,7 @@ void InputMap::load_default() {
}
InputMap::InputMap() {
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exist.");
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exists.");
singleton = this;
}

View File

@@ -492,19 +492,22 @@ Error DirAccess::_copy_dir(Ref<DirAccess> &p_target_da, const String &p_to, int
while (!n.is_empty()) {
if (n != "." && n != "..") {
if (p_copy_links && is_link(get_current_dir().path_join(n))) {
create_link(read_link(get_current_dir().path_join(n)), p_to + n);
Error err = p_target_da->create_link(read_link(get_current_dir().path_join(n)), p_to + n);
if (err) {
ERR_PRINT(vformat("Failed to copy symlink \"%s\".", n));
}
} else if (current_is_dir()) {
dirs.push_back(n);
} else {
const String &rel_path = n;
if (!n.is_relative_path()) {
list_dir_end();
return ERR_BUG;
ERR_FAIL_V_MSG(ERR_BUG, vformat("BUG: \"%s\" is not a relative path.", n));
}
Error err = copy(get_current_dir().path_join(n), p_to + rel_path, p_chmod_flags);
if (err) {
list_dir_end();
return err;
ERR_FAIL_V_MSG(err, vformat("Failed to copy file \"%s\".", n));
}
}
}

View File

@@ -333,7 +333,7 @@ IP *IP::get_singleton() {
IP *(*IP::_create)() = nullptr;
IP *IP::create() {
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exist.");
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exists.");
ERR_FAIL_NULL_V(_create, nullptr);
return _create();
}

View File

@@ -462,7 +462,7 @@ public:
r_result.description = ret.get("description", "");
r_result.is_deprecated = ret.get("is_deprecated", false);
r_result.deprecated_message = ret.get("deprecated_message", "");
r_result.is_deprecated = ret.get("is_deprecated", false);
r_result.is_experimental = ret.get("is_experimental", false);
r_result.experimental_message = ret.get("experimental_message", "");
r_result.doc_type = ret.get("doc_type", "");