Changeset 10415 for OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
- Timestamp:
- 06/25/09 18:07:49 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
r10407 r10415 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 3 * This library is open source and may be redistributed and/or modified under … … 908 908 if( (ptr = getenv("OSG_EXPIRY_DELAY")) != 0) 909 909 { 910 _expiryDelay = atof(ptr);910 _expiryDelay = osg::asciiToDouble(ptr); 911 911 osg::notify(osg::NOTICE)<<"Expiry delay = "<<_expiryDelay<<std::endl; 912 912 } … … 927 927 else 928 928 { 929 setReleaseDelay( atof(ptr));929 setReleaseDelay(osg::asciiToDouble(ptr)); 930 930 } 931 931 … … 966 966 if( (ptr = getenv("OSG_MINIMUM_COMPILE_TIME_PER_FRAME")) != 0) 967 967 { 968 _minimumTimeAvailableForGLCompileAndDeletePerFrame = atof(ptr);968 _minimumTimeAvailableForGLCompileAndDeletePerFrame = osg::asciiToDouble(ptr); 969 969 } 970 970
