From 167469284078f6cffb25bbd1604c2f5691a95b71 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 25 Jun 2014 11:07:59 +0000 Subject: [PATCH] From Laurens Voerman, "a minor patch for osgconv to make sure the helptext is printed if you run "osgconv -h" with OSG_NOTIFY_LEVEL set too low. applys to both trunk and stable branch." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14280 16af8721-9629-0410-8352-f15c8da7e697 --- applications/osgconv/osgconv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/osgconv/osgconv.cpp b/applications/osgconv/osgconv.cpp index 82d3776f5..cb366556b 100644 --- a/applications/osgconv/osgconv.cpp +++ b/applications/osgconv/osgconv.cpp @@ -557,6 +557,7 @@ int main( int argc, char **argv ) // if user request help write it out to cout. if (arguments.read("-h") || arguments.read("--help")) { + osg::setNotifyLevel(osg::NOTICE); usage( arguments.getApplicationName().c_str(), 0 ); //arguments.getApplicationUsage()->write(std::cout); return 1;