From 832701b69f811d70275c59eb265788ad920dbbc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=82=8B=E3=82=8B=20/=20=E3=81=8D=E3=81=AE?= =?UTF-8?q?=E3=82=82=E3=81=A8=20=E7=B5=90=E8=A1=A3?= Date: Sun, 15 Feb 2026 23:45:08 +0900 Subject: [PATCH] Fixed doesn't property load when 1 frame animation. --- src/rmodels.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rmodels.c b/src/rmodels.c index 755d0437d..eadc16f07 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -6244,7 +6244,10 @@ static bool GetPoseAtTimeGLTF(cgltf_interpolation_type interpolationType, cgltf_ } // Constant animation, no need to interpolate - if (FloatEquals(tend, tstart)) return true; + if (FloatEquals(tend, tstart)) + { + interpolationType = cgltf_interpolation_type_step; + } float duration = fmaxf((tend - tstart), EPSILON); float t = (time - tstart)/duration;