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-20 22:33:29 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2016-02-20 22:33:42 +0300
commitedf9e8d4dc676ea0789297369d4d78be8234f4ef (patch)
tree36aabd80c2dfe6f9a8dd07f6d8e4bcfc6bd524ef /source/blender/collada
parent1b9039752ac922355aab565f12d8db3edd834e06 (diff)
fix T47484: Added final status of exported file to Blender console
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/DocumentExporter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp
index 2a7644266d4..71c9391c6ac 100644
--- a/source/blender/collada/DocumentExporter.cpp
+++ b/source/blender/collada/DocumentExporter.cpp
@@ -188,7 +188,7 @@ void DocumentExporter::exportCurrentScene(Scene *sce)
COLLADABU::NativeString native_filename = make_temp_filepath(NULL, ".dae");
COLLADASW::StreamWriter *writer = new COLLADASW::StreamWriter(native_filename);
- fprintf(stdout, "Collada export: %s\n", this->export_settings->filepath);
+ fprintf(stdout, "Collada export buffer: %s\n", native_filename.c_str());
// open <collada>
writer->startDocument();
@@ -330,7 +330,8 @@ void DocumentExporter::exportCurrentScene(Scene *sce)
delete writer;
// Finally move the created document into place
- BLI_rename(native_filename.c_str(), this->export_settings->filepath);
+ int status = BLI_rename(native_filename.c_str(), this->export_settings->filepath);
+ fprintf(stdout, "Collada moved buffer : %s (Status: %d)\n", this->export_settings->filepath, status);
}