From 998ba32501f836ab3947675ebdca323b8511d8a6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 16 Dec 2007 13:29:02 +0000 Subject: [PATCH] Added parsing of parameters to Viewer constructor. --- examples/osgforest/osgforest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgforest/osgforest.cpp b/examples/osgforest/osgforest.cpp index c05ad3a5e..4f181eb85 100644 --- a/examples/osgforest/osgforest.cpp +++ b/examples/osgforest/osgforest.cpp @@ -1092,7 +1092,7 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // construct the viewer. - osgViewer::Viewer viewer; + osgViewer::Viewer viewer(arguments); float numTreesToCreates = 10000; arguments.read("--trees",numTreesToCreates);