Added FramStamp into osgViewer::Viewer and added ability to handle setSceneData
during during the application running.
This commit is contained in:
@@ -33,6 +33,12 @@ Scene::~Scene()
|
||||
{
|
||||
}
|
||||
|
||||
void Scene::setFrameStamp(osg::FrameStamp* frameStamp)
|
||||
{
|
||||
_frameStamp = frameStamp;
|
||||
_updateVisitor->setFrameStamp(_frameStamp.get());
|
||||
}
|
||||
|
||||
void Scene::init()
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Scene::init() not implementated yet."<<std::endl;
|
||||
|
||||
Reference in New Issue
Block a user