diff options
Diffstat (limited to 'src/animation/backend/fcurve.cpp')
-rw-r--r-- | src/animation/backend/fcurve.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animation/backend/fcurve.cpp b/src/animation/backend/fcurve.cpp index edb2b6df8..c4361a37a 100644 --- a/src/animation/backend/fcurve.cpp +++ b/src/animation/backend/fcurve.cpp @@ -71,8 +71,7 @@ float FCurve::evaluateAtTime(float localTime) const switch (keyframe0.interpolation) { case QKeyFrame::ConstantInterpolation: - qWarning("Constant interpolation not implemented yet"); - break; + return keyframe0.value; case QKeyFrame::LinearInterpolation: if (localTime >= t0 && localTime <= t1 && t1 > t0) { float t = (localTime - t0) / (t1 - t0); |