Removed the use of __FUNCTION__ from MemoryManager to remove problems with

VisualStudio .NET compile.

Added support for OSG_NOTIFY_LEVEL and OSG_FILE_PATH into the relevant getenv
routines.  This compliments the exisiting OSGNOTIFYLEVEL & OSGFILEPATH which
are deprecated but still supported.  The OSG_ version are more consistent
with the rest of the env variables used in the OSG.
This commit is contained in:
Robert Osfield
2002-04-24 14:52:53 +00:00
parent 7a76be4465
commit b2e6279178
6 changed files with 48 additions and 47 deletions

View File

@@ -39,7 +39,8 @@ bool osg::initNotifyLevel()
g_NotifyLevel = osg::NOTICE; // Default value
char *OSGNOTIFYLEVEL=getenv("OSGNOTIFYLEVEL");
char* OSGNOTIFYLEVEL=getenv("OSG_NOTIFY_LEVEL");
if (!OSGNOTIFYLEVEL) OSGNOTIFYLEVEL=getenv("OSGNOTIFYLEVEL");
if(OSGNOTIFYLEVEL)
{