Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var

This commit is contained in:
Robert Osfield
2013-05-10 17:59:07 +00:00
parent 5dd07e4d1c
commit 9402efe38e
3 changed files with 69 additions and 0 deletions

View File

@@ -92,6 +92,11 @@ int main( int argc, char **argv )
}
osgViewer::Keystone::loadKeystoneFiles(ds);
if (!ds->getKeystoneHint())
{
OSG_NOTICE<<"Keystone disabled"<<std::endl;
}
if (ds->getStereo())
{