Skip to content

Commit

Permalink
fix issue assimp#2551
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno361 committed Sep 18, 2019
1 parent e3d277f commit dbf47f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Collada/ColladaExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void ColladaExporter::WriteTextures() {

std::string name = mFile + "_texture_" + (i < 1000 ? "0" : "") + (i < 100 ? "0" : "") + (i < 10 ? "0" : "") + str + "." + ((const char*) texture->achFormatHint);

std::unique_ptr<IOStream> outfile(mIOSystem->Open(mPath + name, "wb"));
std::unique_ptr<IOStream> outfile(mIOSystem->Open(mPath + mIOSystem->getOsSeparator() + name, "wb"));
if(outfile == NULL) {
throw DeadlyExportError("could not open output texture file: " + mPath + name);
}
Expand Down

0 comments on commit dbf47f7

Please sign in to comment.