From 31adaf24950dfd4b2d6069e2ef5cb52410bb4c01 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 2 Apr 2015 17:32:52 +0200 Subject: [PATCH] Use simulationTime instead of referenceTime --- components/nifosg/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nifosg/controller.cpp b/components/nifosg/controller.cpp index 76d3c5e62..463eb9e45 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()