diff --git a/libs/gfx/include/psemek/gfx/gltf_animation.hpp b/libs/gfx/include/psemek/gfx/gltf_animation.hpp index 891ce752..2e64fe68 100644 --- a/libs/gfx/include/psemek/gfx/gltf_animation.hpp +++ b/libs/gfx/include/psemek/gfx/gltf_animation.hpp @@ -112,7 +112,7 @@ namespace psemek::gfx { auto it = std::lower_bound(input_.begin(), input_.end(), time); if (it == input_.begin()) - return output_.back(); + return output_.front(); if (it == input_.end()) return output_.back();