Added a error message for when OSG_NOTIFY_LEVEL is not set correctly.

This commit is contained in:
Robert Osfield
2002-08-20 10:26:36 +00:00
parent 058ef0dc98
commit 05573d553d

View File

@@ -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 ("<<stringOSGNOTIFYLEVEL<<")"<<std::endl;
}