diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2024-09-21 06:28:11 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2024-09-21 19:20:19 -0700 |
commit | dd9525be040518bfbc401f5cb9c3a9fd2f34c442 (patch) | |
tree | 6e23764fe92f6b6e94ab667dad415d8b4d182202 /modules/text_server_adv/script_iterator.cpp | |
parent | e4e024ab88efe74677769395886bc1b09eccbac7 (diff) | |
download | redot-engine-dd9525be040518bfbc401f5cb9c3a9fd2f34c442.tar.gz |
Fix animation compression going the wrong way
When compressing animation key frame indices the truncation breaks the animation near the border of pages.
We use banker's rounding (FE_TONEAREST) as implemented by fast_ftoi to get the nearest integer frame.
Diffstat (limited to 'modules/text_server_adv/script_iterator.cpp')
0 files changed, 0 insertions, 0 deletions