From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <osgGA/AnimationPathManipulator>
|
||||
|
||||
#include <fstream>
|
||||
#include <osgDB/fstream>
|
||||
|
||||
using namespace osgGA;
|
||||
|
||||
@@ -29,7 +29,7 @@ AnimationPathManipulator::AnimationPathManipulator( const std::string& filename
|
||||
_isPaused = false;
|
||||
|
||||
|
||||
std::ifstream in(filename.c_str());
|
||||
osgDB::ifstream in(filename.c_str());
|
||||
|
||||
if (!in)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user