Skip to content

Commit

Permalink
Merge pull request assimp#2659 from creacore-team/master
Browse files Browse the repository at this point in the history
fix issue assimp#2551
  • Loading branch information
kimkulling authored Sep 18, 2019
2 parents e3d277f + dbf47f7 commit b6edcb3
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 b6edcb3

Please sign in to comment.