- assimp export: fix small issue when guessing output file format. See https://sourceforge.net/projects/assimp/forums/forum/817653/topic/4922378

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1103 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/4/merge
aramis_acg 2012-01-04 15:10:27 +00:00
parent 67e8e52a00
commit afd462045d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ int Assimp_Export(const char* const* params, unsigned int num)
// //
const std::string::size_type s = out.find_last_of('.'); const std::string::size_type s = out.find_last_of('.');
if (s != std::string::npos) { if (s != std::string::npos) {
outext = out.substr(s+1,in.length()-(s+1)); outext = out.substr(s+1);
out = out.substr(0,s); out = out.substr(0,s);
} }