- Timestamp:
- 06/25/09 16:06:29 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgDB/DatabasePager.cpp
r10151 r10413 886 886 if( (ptr = getenv("OSG_EXPIRY_DELAY")) != 0) 887 887 { 888 _expiryDelay = atof(ptr);888 _expiryDelay = osg::asciiToDouble(ptr); 889 889 osg::notify(osg::NOTICE)<<"Expiry delay = "<<_expiryDelay<<std::endl; 890 890 } … … 905 905 else 906 906 { 907 setReleaseDelay( atof(ptr));907 setReleaseDelay(osg::asciiToDouble(ptr)); 908 908 } 909 909 … … 944 944 if( (ptr = getenv("OSG_MINIMUM_COMPILE_TIME_PER_FRAME")) != 0) 945 945 { 946 _minimumTimeAvailableForGLCompileAndDeletePerFrame = atof(ptr);946 _minimumTimeAvailableForGLCompileAndDeletePerFrame = osg::asciiToDouble(ptr); 947 947 } 948 948
