Reverting Luigi's addition of argv[1] as it breaks the build.
This commit is contained in:
parent
e0f5b28dc7
commit
db2cef09b3
@ -28,7 +28,7 @@ bool wxOsgApp::OnInit()
|
||||
wxSize(200, 200), wxSUNKEN_BORDER);
|
||||
|
||||
// load the scene.
|
||||
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile(argv[1]);
|
||||
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile("cow.osg");
|
||||
if (!loadedModel)
|
||||
{
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user