mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Rename String plus_file to path_join
This commit is contained in:
parent
051f24b067
commit
10a56981dc
100 changed files with 519 additions and 519 deletions
|
|
@ -824,7 +824,7 @@ Vector<ScriptLanguage::ScriptTemplate> ScriptCreateDialog::_get_user_templates(c
|
|||
Vector<ScriptLanguage::ScriptTemplate> user_templates;
|
||||
String extension = language->get_extension();
|
||||
|
||||
String dir_path = p_dir.plus_file(p_object);
|
||||
String dir_path = p_dir.path_join(p_object);
|
||||
|
||||
Ref<DirAccess> d = DirAccess::open(dir_path);
|
||||
if (d.is_valid()) {
|
||||
|
|
@ -860,7 +860,7 @@ ScriptLanguage::ScriptTemplate ScriptCreateDialog::_parse_template(const ScriptL
|
|||
|
||||
// Parse file for meta-information and script content
|
||||
Error err;
|
||||
Ref<FileAccess> file = FileAccess::open(p_path.plus_file(p_filename), FileAccess::READ, &err);
|
||||
Ref<FileAccess> file = FileAccess::open(p_path.path_join(p_filename), FileAccess::READ, &err);
|
||||
if (!err) {
|
||||
while (!file->eof_reached()) {
|
||||
String line = file->get_line();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue