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-27 01:38:21 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-27 01:38:21 +0300
commite24906759f7b181efc568c3ddb9afffa8dfe965c (patch)
tree767e05a52ed601b2806180724e6ff4cfee57f63b /source/blender/collada
parentedcd30f6ab238435418728833a1f1befbc4facbc (diff)
parentb5f0e8e1a1c04db001a34090e288531717e0980b (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/AnimationExporter.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp
index a1497a0ab44..3e57dafed19 100644
--- a/source/blender/collada/AnimationExporter.cpp
+++ b/source/blender/collada/AnimationExporter.cpp
@@ -219,6 +219,7 @@ void AnimationExporter::export_sampled_matrix_animation(Object *ob, std::vector<
bc_update_scene(eval_ctx, scene, *ctime);
BKE_object_matrix_local_get(ob, fmat);
+
converter.mat4_to_dae(outmat, fmat);
if (this->export_settings->limit_precision)
@@ -284,8 +285,8 @@ void AnimationExporter::export_sampled_transrotloc_animation(Object *ob, std::ve
create_sampled_animation(1, ctimes, baked_curves[EULY], ob_name, "rotation", "Y", true);
create_sampled_animation(1, ctimes, baked_curves[EULZ], ob_name, "rotation", "Z", true);
- fprintf(stdout, "Animation Export: Baked %zd frames for %s (sampling rate: %d)\n",
- baked_curves[0].size(),
+ fprintf(stdout, "Animation Export: Baked %d frames for %s (sampling rate: %d)\n",
+ (int)baked_curves[0].size(),
ob->id.name,
this->export_settings->sampling_rate);
}
@@ -1261,10 +1262,6 @@ std::string AnimationExporter::create_4x4_source(std::vector<float> &ctimes, std
source.prepareToAppendValues();
- bPoseChannel *parchan = NULL;
- bPoseChannel *pchan = NULL;
-
-
std::vector<float>::iterator it;
for (it = values.begin(); it != values.end(); it+=16) {