fgviewer: add DatabasePager.
This commit is contained in:
parent
7f528bbd31
commit
33630ffe33
1 changed files with 4 additions and 0 deletions
|
@ -197,5 +197,9 @@ main(int argc, char** argv)
|
|||
// pass the loaded scene graph to the viewer.
|
||||
viewer.setSceneData(loadedModel.get());
|
||||
|
||||
// We want on demand database paging
|
||||
viewer.setDatabasePager(new osgDB::DatabasePager);
|
||||
viewer.getDatabasePager()->setUpThreads(1, 1);
|
||||
|
||||
return viewer.run();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue