fix T47484: replaced tempnam() by simple name 'untitled'
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue