From 05573d553dabc538563c6e0978d98d6128f1ce85 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Aug 2002 10:26:36 +0000 Subject: [PATCH] Added a error message for when OSG_NOTIFY_LEVEL is not set correctly. --- src/osg/Notify.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osg/Notify.cpp b/src/osg/Notify.cpp index f294b2fac..34fd2df6f 100644 --- a/src/osg/Notify.cpp +++ b/src/osg/Notify.cpp @@ -55,6 +55,7 @@ bool osg::initNotifyLevel() else if(stringOSGNOTIFYLEVEL.find("DEBUG_FP")!=std::string::npos) g_NotifyLevel=osg::DEBUG_FP; else if(stringOSGNOTIFYLEVEL.find("DEBUG")!=std::string::npos) g_NotifyLevel=osg::DEBUG_INFO; else if(stringOSGNOTIFYLEVEL.find("INFO")!=std::string::npos) g_NotifyLevel=osg::INFO; + else std::cout << "Warning: invalid OSG_NOTIFY_LEVEL set ("<