From 592143b0185e8e4823c86413487e409347d16c35 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 21 May 2007 12:30:14 +0000 Subject: [PATCH] From Luigi Calori, changed hardwired "cow.osg" paramter to argv[1] --- examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp b/examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp index 115efd82e..c3cb2cb1b 100644 --- a/examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp +++ b/examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp @@ -28,7 +28,7 @@ bool wxOsgApp::OnInit() wxSize(200, 200), wxSUNKEN_BORDER); // load the scene. - osg::ref_ptr loadedModel = osgDB::readNodeFile("cow.osg"); + osg::ref_ptr loadedModel = osgDB::readNodeFile(argv[1]); if (!loadedModel) { return false;