summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 15:41:22 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 16:00:06 +0200
commit5ea1c75d639b53ef1fe84ef33bb65a844f6741b6 (patch)
tree09ec40fd359c5e01757ada06ae9a720c3b91c3c3 /editor/editor_node.cpp
parent7ab34e1a96ad6210bd583a00df379637b31169d6 (diff)
downloadredot-engine-5ea1c75d639b53ef1fe84ef33bb65a844f6741b6.tar.gz
Rename `String.is_abs_path()` to `String.is_absolute_path()`
This is more consistent with `NodePath.is_absolute()`.
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 9c77f9d25c..c973b92dc6 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -770,7 +770,7 @@ void EditorNode::_resources_changed(const Vector<String> &p_resources) {
if (!res->editor_can_reload_from_file()) {
continue;
}
- if (!res->get_path().is_resource_file() && !res->get_path().is_abs_path()) {
+ if (!res->get_path().is_resource_file() && !res->get_path().is_absolute_path()) {
continue;
}
if (!FileAccess::exists(res->get_path())) {