From Farshid Lashkari, "I modified some plugins to use the osgDB file stream functions in order to support UTF-8 encoded filenames."
This commit is contained in:
@@ -26,7 +26,7 @@ class ReaderWriterDOT : public osgDB::ReaderWriter {
|
||||
return WriteResult::FILE_NOT_HANDLED;
|
||||
}
|
||||
|
||||
std::ofstream o( fileName.c_str(), std::ios_base::out );
|
||||
osgDB::ofstream o( fileName.c_str(), std::ios_base::out );
|
||||
if ( o ) {
|
||||
return writeNode( node, o, options );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user