diff options
author | Lightning_A <aaronjrecord@gmail.com> | 2021-06-18 16:02:50 -0600 |
---|---|---|
committer | Lightning_A <aaronjrecord@gmail.com> | 2021-06-21 08:39:28 -0600 |
commit | 899e5f8685dc10df5b24a1b765803e19224be61c (patch) | |
tree | a9d6ad1304f851dac592dae6df9cdf5b3ca2e91f /scene/3d | |
parent | 8ffb631cdb740540ae74edaa5cef8a04d263ccee (diff) |
Rename `is_a_parent_of()` to `is_ancestor_of()`
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/remote_transform_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |