Set preview mode when using --fgviewer
This commit is contained in:
parent
31995420d3
commit
ac696a9601
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue