- 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-9d2fd5bffc1fpull/4/merge
parent
67e8e52a00
commit
afd462045d
|
@ -89,7 +89,7 @@ int Assimp_Export(const char* const* params, unsigned int num)
|
|||
//
|
||||
const std::string::size_type s = out.find_last_of('.');
|
||||
if (s != std::string::npos) {
|
||||
outext = out.substr(s+1,in.length()-(s+1));
|
||||
outext = out.substr(s+1);
|
||||
out = out.substr(0,s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue