summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/rmodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index cc6ac823..5f061e2d 100644
--- a/src/rmodels.c
+++ b/src/rmodels.c
@@ -5649,7 +5649,7 @@ static bool GetPoseAtTimeGLTF(cgltf_interpolation_type interpolationType, cgltf_
}
// Constant animation, no need to interpolate
- if (FloatEquals(tend, tstart)) return false;
+ if (FloatEquals(tend, tstart)) return true;
float duration = fmaxf((tend - tstart), EPSILON);
float t = (time - tstart)/duration;