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/normals/ReaderWriterNormals.cpp

    r9475 r10413  
    5959                            if( key == "scale" || key == "SCALE" ) 
    6060                            { 
    61                                 scale = atof( value.c_str() ); 
     61                                scale = osg::asciiToFloat( value.c_str() ); 
    6262                            } 
    6363                            else if( key == "mode" || key == "MODE" )