fix T47484: replaced tempnam() by simple name 'untitled'

This commit is contained in:
Gaia Clary 2016-02-19 16:23:11 +01:00
parent ba99e097f7
commit 44561459f3
Notes: blender-bot 2023-02-14 08:12:25 +01:00
Referenced by issue #47484, Crash on exporting collada file from menu
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ static COLLADABU::NativeString make_temp_filepath(const char *name, const char *
const char *tempdir = BKE_tempdir_session();
if (name == NULL) {
name = tmpnam(NULL);
name = "untitled";
}
BLI_make_file_string(NULL, tempfile, tempdir, name);