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>2018-02-02 13:56:50 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-02 13:57:10 +0300
commitc4a19e988bb4a1fb31e39cdcff52af9e7b91439f (patch)
tree62e1cfec2bc500d5ab1df3c6b334410ed9bf4a84 /source/blender/collada
parentfe82a09f89ce01810869fc4518f4a210ddd54ab9 (diff)
fix: silence warnings about unused local variable (thanks to dfelinto for the hint)
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/DocumentExporter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp
index 3c938f6b6cb..957fec50e4b 100644
--- a/source/blender/collada/DocumentExporter.cpp
+++ b/source/blender/collada/DocumentExporter.cpp
@@ -304,9 +304,9 @@ int DocumentExporter::exportCurrentScene(Scene *sce)
// <library_animations>
AnimationExporter ae(writer, this->export_settings);
- bool has_animations = ae.exportAnimations(sce);
#if 0
+ bool has_animations = ae.exportAnimations(sce);
/* The following code seems to be an obsolete workaround
Comment out until it proofs correct that we no longer need it.
*/
@@ -322,6 +322,7 @@ int DocumentExporter::exportCurrentScene(Scene *sce)
se.setExportTransformationType(this->export_settings->export_transformation_type);
}
#else
+ ae.exportAnimations(sce);
se.setExportTransformationType(this->export_settings->export_transformation_type);
#endif
se.exportScene(sce);