diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-08-10 07:41:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-10 07:41:46 +0200 |
| commit | 536950f9f35f48633c6c2c57ae2473bb906221d2 (patch) | |
| tree | 659cb6a83ab8f4d76ae3b11486987c51825a849e /scene/animation/animation_player.cpp | |
| parent | f3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff) | |
| parent | 430ad75963a0e6837ef460e78fb99565714b4418 (diff) | |
Merge pull request #21922 from aaronfranke/double
Some work on double-precision support
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 46a8e1c684..5d200ebf86 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -780,7 +780,7 @@ void AnimationPlayer::_animation_process_data(PlaybackData &cd, double p_delta, double delta = p_delta * speed_scale * cd.speed_scale; double next_pos = cd.pos + delta; - float len = cd.from->animation->get_length(); + real_t len = cd.from->animation->get_length(); bool loop = cd.from->animation->has_loop(); if (!loop) { |