Changeset 10539
- Timestamp:
- 08/20/09 16:59:29 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgPlugins
- Files:
-
- 2 modified
-
bsp/VBSPReader.cpp (modified) (2 diffs)
-
mdl/MDLReader.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPReader.cpp
r10507 r10539 5 5 #include <osg/Object> 6 6 #include <osg/Material> 7 #include <osg/Math> 7 8 #include <osg/MatrixTransform> 8 9 #include <osg/Node> … … 782 783 if (!token.empty()) 783 784 { 784 alpha = atof(token.c_str());785 alpha = osg::asciiToDouble(token.c_str()); 785 786 } 786 787 } -
OpenSceneGraph/trunk/src/osgPlugins/mdl/MDLReader.cpp
r10483 r10539 5 5 #include <osg/Object> 6 6 #include <osg/Material> 7 #include <osg/Math> 7 8 #include <osg/MatrixTransform> 8 9 #include <osg/Node> … … 355 356 if (!token.empty()) 356 357 { 357 alpha = atof(token.c_str());358 alpha = osg::asciiToDouble(token.c_str()); 358 359 } 359 360 }
