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."
This commit is contained in:
Robert Osfield
2009-08-21 11:31:10 +00:00
parent 8f0322d9d1
commit fd299b5f65

View File

@@ -85,7 +85,7 @@ namespace osgAnimation
}
int i = getKeyIndexFromTime(keyframes,time);
return keyframes[i].getValue();
result = keyframes[i].getValue();
}
};