diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-06-20 09:39:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-20 09:39:29 +0200 |
| commit | 4fcc5891450a7dca9c8ebae6ff3765f5f060c442 (patch) | |
| tree | d10b935e7a77774960fefd93ac306db447cc2bfd /scene/animation/animation_player.cpp | |
| parent | 60dcc4f39c0e6289dba691225c002cd6e77be6ba (diff) | |
| parent | e28fd07b2bbe78db0f286604a6eb469d8a0664be (diff) | |
Merge pull request #49693 from LightningAA/instance-is-not-a-verb
Rename `instance()`->`instantiate()` when it's a verb
Diffstat (limited to 'scene/animation/animation_player.cpp')
| -rw-r--r-- | scene/animation/animation_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index e3748a4ae1..799c81c2ab 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -1511,7 +1511,7 @@ Ref<AnimatedValuesBackup> AnimationPlayer::backup_animated_values(Node *p_root_o _ensure_node_caches(playback.current.from, p_root_override); - backup.instance(); + backup.instantiate(); for (int i = 0; i < playback.current.from->node_cache.size(); i++) { TrackNodeCache *nc = playback.current.from->node_cache[i]; if (!nc) { |