From 0d45181affd4c7db3845bb8bded2387c855080f4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 8 Apr 2003 09:48:02 +0000 Subject: [PATCH] Removed the output of command line usage when no arguments are passed since this example doens't need paramters. --- examples/osgshadowtexture/osgshadowtexture.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/osgshadowtexture/osgshadowtexture.cpp b/examples/osgshadowtexture/osgshadowtexture.cpp index 5380330e9..a9b78cbcd 100644 --- a/examples/osgshadowtexture/osgshadowtexture.cpp +++ b/examples/osgshadowtexture/osgshadowtexture.cpp @@ -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)