Removed redudent code

This commit is contained in:
Robert Osfield 2013-05-24 09:43:08 +00:00
parent fb3178106a
commit 88bbcaecd2
2 changed files with 0 additions and 8 deletions

View File

@ -912,11 +912,7 @@ void CompositeViewer::eventTraversal()
if (_views.empty()) return; if (_views.empty()) return;
#if 1
double cutOffTime = _frameStamp->getReferenceTime(); double cutOffTime = _frameStamp->getReferenceTime();
#else
double cutOffTime = (_runFrameScheme==ON_DEMAND) ? DBL_MAX : _frameStamp->getReferenceTime();
#endif
double beginEventTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick()); double beginEventTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick());

View File

@ -826,11 +826,7 @@ void Viewer::eventTraversal()
{ {
if (_done) return; if (_done) return;
#if 1
double cutOffTime = _frameStamp->getReferenceTime(); double cutOffTime = _frameStamp->getReferenceTime();
#else
double cutOffTime = (_runFrameScheme==ON_DEMAND) ? DBL_MAX : _frameStamp->getReferenceTime();
#endif
double beginEventTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick()); double beginEventTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick());