mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 09:53:25 +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
|
@ -942,7 +942,7 @@ void ScriptTextEditor::_validate_symbol(const String &p_symbol) {
|
|||
|
||||
String ScriptTextEditor::_get_absolute_path(const String &rel_path) {
|
||||
String base_path = script->get_path().get_base_dir();
|
||||
String path = base_path.plus_file(rel_path);
|
||||
String path = base_path.path_join(rel_path);
|
||||
return path.replace("///", "//").simplify_path();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue