diff --git a/components/nifosg/controller.cpp b/components/nifosg/controller.cpp index 76d3c5e62d..463eb9e454 100644 --- a/components/nifosg/controller.cpp +++ b/components/nifosg/controller.cpp @@ -70,7 +70,7 @@ FrameTimeSource::FrameTimeSource() float FrameTimeSource::getValue(osg::NodeVisitor *nv) { - return nv->getFrameStamp()->getReferenceTime(); + return nv->getFrameStamp()->getSimulationTime(); } KeyframeController::KeyframeController()