Show
Ignore:
Timestamp:
05/13/10 13:01:06 (5 years ago)
Author:
robert
Message:

From Farshid Lashkari, "I modified some plugins to use the osgDB file stream functions in order to support UTF-8 encoded filenames."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/bvh/ReaderWriterBVH.cpp

    r11009 r11428  
    380380        if ( fileName.empty() ) return ReadResult::FILE_NOT_FOUND; 
    381381 
    382         std::ifstream stream( fileName.c_str(), std::ios::in|std::ios::binary ); 
     382        osgDB::ifstream stream( fileName.c_str(), std::ios::in|std::ios::binary ); 
    383383        if( !stream ) return ReadResult::ERROR_IN_READING_FILE; 
    384384        return readNode( stream, options );