Removed the output of command line usage when no arguments are passed since

this example doens't need paramters.
This commit is contained in:
Robert Osfield
2003-04-08 09:48:02 +00:00
parent 6f859366e9
commit 0d45181aff

View File

@@ -200,12 +200,6 @@ int main( int argc, char **argv )
return 1;
}
if (arguments.argc()<=1)
{
arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION);
return 1;
}
// load the nodes from the commandline arguments.
osg::Node* model = createModel();
if (!model)