summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-09-01 15:44:42 +0200
committerMicky <micheledevita2@gmail.com>2022-09-06 19:00:33 +0200
commitdd26ecdd31c01ab02a64b589fa169dbba6c124d5 (patch)
tree34351710f0c06aaa2f0359233a5280b7088e2531 /scene/animation
parent0c4d578bdf0630d81ab4ef13a8e596c6980b3df9 (diff)
Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOT
For consistency. Every other exposed `one_shot` is spaced out like this.
Diffstat (limited to 'scene/animation')
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 073f61bfdd..096f4edee2 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -323,7 +323,7 @@ void AnimationPlayer::_ensure_node_caches(AnimationData *p_anim, Node *p_root_ov
#endif // _3D_DISABLED
if (!child->is_connected("tree_exiting", callable_mp(this, &AnimationPlayer::_node_removed))) {
- child->connect("tree_exiting", callable_mp(this, &AnimationPlayer::_node_removed).bind(child), CONNECT_ONESHOT);
+ child->connect("tree_exiting", callable_mp(this, &AnimationPlayer::_node_removed).bind(child), CONNECT_ONE_SHOT);
}
TrackNodeCacheKey key;