diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-16 18:58:20 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-16 18:58:20 +0300 |
commit | 5bc2c17161cfc23ca2d8c58e7e24458c277100ae (patch) | |
tree | e08810f81e5b0fb30ebee622eb0522e40a11e94f /source/blender/collada/AnimationImporter.cpp | |
parent | e1a686e44448e8345d45041631fda84d4ee0d2fa (diff) |
fix:T50079 collada matrix and blender matrix are transposed. This was not regarded by the animation importer, so it was creating very odd results
Diffstat (limited to 'source/blender/collada/AnimationImporter.cpp')
-rw-r--r-- | source/blender/collada/AnimationImporter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index bc91b94afd9..95543b2dc18 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -817,6 +817,7 @@ void AnimationImporter::apply_matrix_curves(Object *ob, std::vector<FCurve *>& a } float rot[4], loc[3], scale[3]; + transpose_m4(mat); bc_rotate_from_reference_quat(rot, qref, mat); copy_qt_qt(qref, rot); |