diff --git a/include/osgAnimation/Interpolator b/include/osgAnimation/Interpolator index dafd59752..3b0a331f2 100644 --- a/include/osgAnimation/Interpolator +++ b/include/osgAnimation/Interpolator @@ -85,7 +85,7 @@ namespace osgAnimation } int i = getKeyIndexFromTime(keyframes,time); - return keyframes[i].getValue(); + result = keyframes[i].getValue(); } };