You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +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:
@@ -62,7 +62,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
|
||||
}
|
||||
|
||||
if (p_path.begins_with("res://") || p_path.begins_with("user://") ||
|
||||
(p_path.is_abs_path() && !p_path.begins_with(resource_path))) {
|
||||
(p_path.is_absolute_path() && !p_path.begins_with(resource_path))) {
|
||||
return p_path.simplify_path();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user