Add dot only when the extension is not empty.

pull/4674/head
Kim Kulling 2022-08-06 18:37:12 +02:00
parent dabaa7bdae
commit 4aaa807704
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 // derive the final file name
out += "." + outext; if (!outext.empty()) {
out += "." + outext;
}
// and call the export routine // and call the export routine
if (!ExportModel(scene, import, out, e->id)) { if (!ExportModel(scene, import, out, e->id)) {