[Bf-blender-cvs] [93478e0] alembic_basic_io: Remove some hard-coded transform.
Kévin Dietrich
noreply at git.blender.org
Thu Apr 7 13:35:44 CEST 2016
Commit: 93478e04ca97598ea938905edce8cb7f8c6d4a45
Author: Kévin Dietrich
Date: Thu Apr 7 12:14:24 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB93478e04ca97598ea938905edce8cb7f8c6d4a45
Remove some hard-coded transform.
===================================================================
M source/blender/alembic/intern/abc_transform.cc
===================================================================
diff --git a/source/blender/alembic/intern/abc_transform.cc b/source/blender/alembic/intern/abc_transform.cc
index 0fd8d71..f887135eb 100644
--- a/source/blender/alembic/intern/abc_transform.cc
+++ b/source/blender/alembic/intern/abc_transform.cc
@@ -95,13 +95,6 @@ void AbcTransformWriter::do_write()
mul_m4_m3m4(mat, m_options.convert_matrix, mat);
}
- float rot_mat[4][4];
- if (m_object->type == OB_CAMERA) {
- unit_m4(rot_mat);
- rotate_m4(rot_mat, 'X', -M_PI_2);
- mul_m4_m4m4(mat, mat, rot_mat);
- }
-
m_matrix = convert_matrix(mat);
m_sample.setMatrix(m_matrix);
More information about the Bf-blender-cvs
mailing list