Show
Ignore:
Timestamp:
06/25/09 16:06:29 (5 years ago)
Author:
robert
Message:

From Mathias Froehlich, changes from atof to use osg::asciiToFloat() to avoid locale issues with atof

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ive/DataOutputStream.cpp

    r9475 r10413  
    173173            { 
    174174                std::string numberString = optionsString.substr(endOfToken+1, numOfCharInNumber); 
    175                 _maximumErrorToSizeRatio = atof(numberString.c_str()); 
     175                _maximumErrorToSizeRatio = osg::asciiToDouble(numberString.c_str()); 
    176176                 
    177177                osg::notify(osg::DEBUG_INFO)<<"TerrainMaximumErrorToSizeRatio = "<<_maximumErrorToSizeRatio<<std::endl;