From fd299b5f65851c04201c8a8b64f747757b41fdbe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 21 Aug 2009 11:31:10 +0000 Subject: [PATCH] From Magnus Kessler, "At the end of the void function osg::Animation::TemplateStepInterpolator::getValue the code tries to return the result rather than assigning it to the result parameter reference. The following patch fixes this." --- include/osgAnimation/Interpolator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } };