From b2f17aa38e051255a01f0bd48649d7ac039ced3f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 13 Mar 2020 08:33:52 +0000 Subject: [PATCH] Added arguments to viwer construction to allow better command line control --- examples/osgdepthpartition/osgdepthpartition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgdepthpartition/osgdepthpartition.cpp b/examples/osgdepthpartition/osgdepthpartition.cpp index 1a7d5a6d1..441ee4eaa 100644 --- a/examples/osgdepthpartition/osgdepthpartition.cpp +++ b/examples/osgdepthpartition/osgdepthpartition.cpp @@ -128,7 +128,7 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // construct the viewer. - osgViewer::Viewer viewer; + osgViewer::Viewer viewer(arguments); // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) );