diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2016-02-19 18:23:11 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2016-02-19 18:23:11 +0300 |
commit | 44561459f3e8a355a24c493bbd86d381db8624b7 (patch) | |
tree | 48a48342adbfb82d6c12170a26eb83be61fb3ecf /source/blender/collada/DocumentExporter.cpp | |
parent | ba99e097f7cea20a2f2e027c00b0abb6df8639f8 (diff) |
fix T47484: replaced tempnam() by simple name 'untitled'
Diffstat (limited to 'source/blender/collada/DocumentExporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 1348d7e6d43..2a7644266d4 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -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); |