Removed redudent code
This commit is contained in:
parent
fb3178106a
commit
88bbcaecd2
@ -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());
|
||||||
|
|
||||||
|
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user