diff options
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/settings.py | 1 | ||||
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py index 774ca5173d5..68a5537567c 100644 --- a/release/scripts/modules/bl_i18n_utils/settings.py +++ b/release/scripts/modules/bl_i18n_utils/settings.py @@ -90,6 +90,7 @@ LANGUAGES = ( (40, "Hindi (मानक हिन्दी)", "hi_IN"), (41, "Vietnamese (tiếng Việt)", "vi_VN"), (42, "Basque (Euskara)", "eu_EU"), + (43, "Hausa (Hausa)", "ha"), ) # Default context, in py! diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 88bc5c3c295..ce0c52cdcd1 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -288,10 +288,6 @@ int DocumentExporter::exportCurrentScene(const EvaluationContext *eval_ctx, Scen ge.exportGeom(eval_ctx, sce); } - // <library_animations> - AnimationExporter ae(writer, this->export_settings); - bool has_animations = ae.exportAnimations(eval_ctx, sce); - // <library_controllers> ArmatureExporter arm_exporter(writer, this->export_settings); ControllerExporter controller_exporter(writer, this->export_settings); @@ -307,6 +303,11 @@ int DocumentExporter::exportCurrentScene(const EvaluationContext *eval_ctx, Scen /* The following code seems to be an obsolete workaround Comment out until it proofs correct that we no longer need it. */ + + // <library_animations> + AnimationExporter ae(writer, this->export_settings); + bool has_animations = ae.exportAnimations(eval_ctx, sce); + if (has_animations && this->export_settings->export_transformation_type == BC_TRANSFORMATION_TYPE_MATRIX) { // channels adressing <matrix> objects is not (yet) supported // So we force usage of <location>, <translation> and <scale> |