Merge pull request #4674 from assimp/kimkulling/do_not_add_dot_when_extension_is_empty_issue-4670

Kimkulling/do not add dot when extension is empty issue 4670
pull/4658/head^2
Kim Kulling 2022-08-06 21:22:54 +02:00 committed by GitHub
commit 17c6491c91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,9 @@ int Assimp_Export(const char *const *params, unsigned int num) {
}
// derive the final file name
if (!outext.empty()) {
out += "." + outext;
}
// and call the export routine
if (!ExportModel(scene, import, out, e->id)) {