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:
Diffstat (limited to 'source/blender/collada')
-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);