From 899e5f8685dc10df5b24a1b765803e19224be61c Mon Sep 17 00:00:00 2001 From: Lightning_A Date: Fri, 18 Jun 2021 16:02:50 -0600 Subject: Rename `is_a_parent_of()` to `is_ancestor_of()` --- scene/3d/remote_transform_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d') diff --git a/scene/3d/remote_transform_3d.cpp b/scene/3d/remote_transform_3d.cpp index a7b3a6f1ec..d5fb1fa6ab 100644 --- a/scene/3d/remote_transform_3d.cpp +++ b/scene/3d/remote_transform_3d.cpp @@ -34,7 +34,7 @@ void RemoteTransform3D::_update_cache() { cache = ObjectID(); if (has_node(remote_node)) { Node *node = get_node(remote_node); - if (!node || this == node || node->is_a_parent_of(this) || this->is_a_parent_of(node)) { + if (!node || this == node || node->is_ancestor_of(this) || this->is_ancestor_of(node)) { return; } -- cgit v1.2.3