Added a call to the CullSetting::readCommnadLine(..) to make sure the --NO_CULLING and --VIEW_FRUSTUM, --VIEW_FRUSTUM_SIDES command line parameters are honoured
This commit is contained in:
@@ -105,6 +105,8 @@ Viewer::Viewer(osg::ArgumentParser& arguments)
|
||||
osg::DisplaySettings::instance()->readCommandLine(arguments);
|
||||
osgDB::readCommandLine(arguments);
|
||||
|
||||
getCamera()->readCommandLine(arguments);
|
||||
|
||||
std::string colorStr;
|
||||
while (arguments.read("--clear-color",colorStr))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user