|
@@ -60,7 +60,7 @@ void ExportSceneObj(const char* pFile,IOSystem* pIOSystem, const aiScene* pScene
|
|
|
{
|
|
|
boost::scoped_ptr<IOStream> outfile (pIOSystem->Open(pFile,"wt"));
|
|
|
if(outfile == NULL) {
|
|
|
- throw DeadlyExportError("could not open output .obj file: " + std::string(pFile));
|
|
|
+ throw DeadlyExportError("could not open output .obj file: " + std::string(pFile));
|
|
|
}
|
|
|
outfile->Write( exporter.mOutput.str().c_str(), static_cast<size_t>(exporter.mOutput.tellp()),1);
|
|
|
}
|