Rename String.is_abs_path() to String.is_absolute_path()

This is more consistent with `NodePath.is_absolute()`.
This commit is contained in:
Hugo Locurcio 2021-06-03 15:41:22 +02:00
parent 7ab34e1a96
commit 5ea1c75d63
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
17 changed files with 27 additions and 27 deletions

View file

@ -2169,7 +2169,7 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
if (err == OK) {
const GDScriptParser::ClassNode *c = parser.get_tree();
if (r_icon_path) {
if (c->icon_path.is_empty() || c->icon_path.is_abs_path()) {
if (c->icon_path.is_empty() || c->icon_path.is_absolute_path()) {
*r_icon_path = c->icon_path;
} else if (c->icon_path.is_rel_path()) {
*r_icon_path = p_path.get_base_dir().plus_file(c->icon_path).simplify_path();