Added warning message for when no file is loaded.

This commit is contained in:
Robert Osfield
2005-10-28 14:02:37 +00:00
parent fa5ab64c94
commit 37aa7f55a6

View File

@@ -124,6 +124,7 @@ int main( int argc, char **argv )
osg::Node* loadedModel = osgDB::readNodeFiles(arguments);
if (!loadedModel)
{
std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl;
return 1;
}