Added new statc prototype() and create() methods to CullVisitor and DatabasePager to allow overriding of the default implementations

This commit is contained in:
Robert Osfield
2007-08-08 08:10:38 +00:00
parent 58db6fd81a
commit e3b7b2f617
7 changed files with 108 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ Scene::Scene():
_updateVisitor = new osgUtil::UpdateVisitor;
_updateVisitor->setFrameStamp(_frameStamp.get());
setDatabasePager(new osgDB::DatabasePager);
setDatabasePager(osgDB::DatabasePager::create());
}
Scene::~Scene()