Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2016-02-19 18:23:11 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2016-02-19 18:23:11 +0300
commit44561459f3e8a355a24c493bbd86d381db8624b7 (patch)
tree48a48342adbfb82d6c12170a26eb83be61fb3ecf /source/blender/collada/DocumentExporter.cpp
parentba99e097f7cea20a2f2e027c00b0abb6df8639f8 (diff)
fix T47484: replaced tempnam() by simple name 'untitled'
Diffstat (limited to 'source/blender/collada/DocumentExporter.cpp')
-rw-r--r--source/blender/collada/DocumentExporter.cpp2
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);