diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-06-04 14:11:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-04 14:11:03 +0200 |
| commit | 5dc923d3863b504d64b19501eaec04749cd975ce (patch) | |
| tree | 8b9f62122d75a3e55cec506fb0d96b7c8a9dbfed /scene/animation/animation_tree.cpp | |
| parent | 023056bc5c1289f930a4f85916d6ddcd3d4b3ea4 (diff) | |
| parent | 125d1a7cd330ad7b2f971bad16e126b8100e6926 (diff) | |
| download | redot-engine-5dc923d3863b504d64b19501eaec04749cd975ce.tar.gz | |
Merge pull request #49297 from aaronfranke/anim-type-tr3d
Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3D
Diffstat (limited to 'scene/animation/animation_tree.cpp')
| -rw-r--r-- | scene/animation/animation_tree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index e51448bac8..4db8afe0f5 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -581,7 +581,7 @@ bool AnimationTree::_update_caches(AnimationPlayer *player) { track = track_value; } break; - case Animation::TYPE_TRANSFORM: { + case Animation::TYPE_TRANSFORM3D: { Node3D *spatial = Object::cast_to<Node3D>(child); if (!spatial) { @@ -844,7 +844,7 @@ void AnimationTree::_process_graph(float p_delta) { } switch (track->type) { - case Animation::TYPE_TRANSFORM: { + case Animation::TYPE_TRANSFORM3D: { TrackCacheTransform *t = static_cast<TrackCacheTransform *>(track); if (track->root_motion) { @@ -1188,7 +1188,7 @@ void AnimationTree::_process_graph(float p_delta) { } switch (track->type) { - case Animation::TYPE_TRANSFORM: { + case Animation::TYPE_TRANSFORM3D: { TrackCacheTransform *t = static_cast<TrackCacheTransform *>(track); Transform3D xform; |
