Tweak API and updated wrappers to get wrappers to build
This commit is contained in:
@@ -165,6 +165,13 @@ int main(int argc, char** argv)
|
||||
// add the stats handler
|
||||
viewer.addEventHandler(new osgViewer::StatsHandler);
|
||||
|
||||
|
||||
unsigned int screenNum;
|
||||
while (arguments.read("--screen",screenNum))
|
||||
{
|
||||
viewer.setUpViewOnSingleScreen(screenNum);
|
||||
}
|
||||
|
||||
// load the data
|
||||
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFiles(arguments);
|
||||
if (!loadedModel)
|
||||
|
||||
Reference in New Issue
Block a user