You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Rename String.is_abs_path() to String.is_absolute_path()
This is more consistent with `NodePath.is_absolute()`.
This commit is contained in:
@@ -151,7 +151,7 @@ void EditorExportPreset::set_export_path(const String &p_path) {
|
||||
export_path = p_path;
|
||||
/* NOTE(SonerSound): if there is a need to implement a PropertyHint that specifically indicates a relative path,
|
||||
* this should be removed. */
|
||||
if (export_path.is_abs_path()) {
|
||||
if (export_path.is_absolute_path()) {
|
||||
String res_path = OS::get_singleton()->get_resource_dir();
|
||||
export_path = res_path.path_to_file(export_path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user