diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:13 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:13 +0200 |
commit | 8c16e67e4da9c5ce56d206e321bf2df23c35d064 (patch) | |
tree | 6422b73ec4b8d6e17149a2c6cb98da8f4d77558d /scene/animation/animation_blend_tree.cpp | |
parent | 0628af4105e5ea4184e57f8203dceeee2167aa50 (diff) | |
parent | ed13a840fa26f813299b8af1cbfb941c8eb95de6 (diff) | |
download | redot-engine-8c16e67e4da9c5ce56d206e321bf2df23c35d064.tar.gz |
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
Diffstat (limited to 'scene/animation/animation_blend_tree.cpp')
-rw-r--r-- | scene/animation/animation_blend_tree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index a96417738f..a2aef60417 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -245,6 +245,8 @@ AnimationNode::NodeTimeInfo AnimationNodeAnimation::_process(const AnimationMixe if (!p_test_only) { AnimationMixer::PlaybackInfo pi = p_playback_info; + pi.start = 0.0; + pi.end = cur_len; if (play_mode == PLAY_MODE_FORWARD) { pi.time = cur_playback_time; pi.delta = cur_delta; |