1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00
Files
godot/scene/resources/animation.cpp
K. S. Ernest (iFire) Lee dd9525be04 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.
2024-09-21 19:20:19 -07:00

208 KiB