From 37aa7f55a6d8b3370bf2df227d7988e2d777cd98 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Oct 2005 14:02:37 +0000 Subject: [PATCH] Added warning message for when no file is loaded. --- examples/osgblendequation/osgblendequation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/osgblendequation/osgblendequation.cpp b/examples/osgblendequation/osgblendequation.cpp index a3860b9eb..76d6bf24d 100644 --- a/examples/osgblendequation/osgblendequation.cpp +++ b/examples/osgblendequation/osgblendequation.cpp @@ -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; }