Added setting of UpdateVisitor's FrameStamp and TraversalNumber in updateTraversal()
This commit is contained in:
parent
0f2797fc07
commit
9bae59bd6e
@ -908,6 +908,10 @@ void CompositeViewer::updateTraversal()
|
|||||||
|
|
||||||
double beginUpdateTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick());
|
double beginUpdateTraversal = osg::Timer::instance()->delta_s(_startTick, osg::Timer::instance()->tick());
|
||||||
|
|
||||||
|
_updateVisitor->reset();
|
||||||
|
_updateVisitor->setFrameStamp(getFrameStamp());
|
||||||
|
_updateVisitor->setTraversalNumber(getFrameStamp()->getFrameNumber());
|
||||||
|
|
||||||
Scenes scenes;
|
Scenes scenes;
|
||||||
getScenes(scenes);
|
getScenes(scenes);
|
||||||
for(Scenes::iterator sitr = scenes.begin();
|
for(Scenes::iterator sitr = scenes.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user