diff --git a/src/osgViewer/Viewer.cpp b/src/osgViewer/Viewer.cpp index 914173f77..978109422 100644 --- a/src/osgViewer/Viewer.cpp +++ b/src/osgViewer/Viewer.cpp @@ -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)) {