You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename String plus_file to path_join
This commit is contained in:
@@ -1071,7 +1071,7 @@ Error DocTools::load_classes(const String &p_dir) {
|
||||
while (!path.is_empty()) {
|
||||
if (!da->current_is_dir() && path.ends_with("xml")) {
|
||||
Ref<XMLParser> parser = memnew(XMLParser);
|
||||
Error err2 = parser->open(p_dir.plus_file(path));
|
||||
Error err2 = parser->open(p_dir.path_join(path));
|
||||
if (err2) {
|
||||
return err2;
|
||||
}
|
||||
@@ -1380,7 +1380,7 @@ Error DocTools::save_classes(const String &p_default_path, const HashMap<String,
|
||||
}
|
||||
|
||||
Error err;
|
||||
String save_file = save_path.plus_file(c.name + ".xml");
|
||||
String save_file = save_path.path_join(c.name + ".xml");
|
||||
Ref<FileAccess> f = FileAccess::open(save_file, FileAccess::WRITE, &err);
|
||||
|
||||
ERR_CONTINUE_MSG(err != OK, "Can't write doc file: " + save_file + ".");
|
||||
|
||||
Reference in New Issue
Block a user