1
0
Fork 0

Set preview mode when using --fgviewer

This commit is contained in:
James Turner 2013-01-31 16:51:06 +00:00
parent 31995420d3
commit ac696a9601

View file

@ -209,7 +209,8 @@ fgviewerMain(int argc, char** argv)
options->getDatabasePathList() = filePathList;
options->setMaterialLib(globals->get_matlib());
options->setPropertyNode(globals->get_props());
options->setPluginStringData("SimGear::PREVIEW", "ON");
// read the scene from the list of file specified command line args.
osg::ref_ptr<osg::Node> loadedModel;
loadedModel = osgDB::readNodeFiles(dataFiles, options);