diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-08-24 13:51:05 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-08-24 13:51:05 +0400 |
commit | 3741a588bca93c00b786df7d496c813ae061c2f1 (patch) | |
tree | b7e1abadede280d3f72bfc234f7ad20c6c1d3ad1 /source/blender/collada/collada.cpp | |
parent | bffd7767e247a5077acec5446b46bd2336dd86d0 (diff) |
Fix 36505: Collada exporter crashes Blender when exporting to locked file
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 1eb5ac6ca4d..85bbaf4748f 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -83,16 +83,6 @@ int collada_export(Scene *sce, { ExportSettings export_settings; - /* annoying, collada crashes if file cant be created! [#27162] */ - if (!BLI_exists(filepath)) { - BLI_make_existing_file(filepath); /* makes the dir if its not there */ - if (!BLI_file_touch(filepath)) { - fprintf(stdout, "Collada export: Can not create: %s\n", filepath); - return 0; - } - } - /* end! */ - export_settings.filepath = (char *)filepath; export_settings.apply_modifiers = apply_modifiers != 0; |