diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-12-02 17:35:33 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-12-02 17:35:33 +0400 |
commit | 1d09d0a9c5afdc371e47a80b92ee439db12dafd1 (patch) | |
tree | 62ccb92cdee26b3ff109c60637a629c7c48dc1da /source/blender/collada | |
parent | 3d6bc1e1f4d33f28b88111ed909b6a95c9c15843 (diff) |
Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode).
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/TransformReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/TransformReader.cpp b/source/blender/collada/TransformReader.cpp index d10cd7378e9..61793589422 100644 --- a/source/blender/collada/TransformReader.cpp +++ b/source/blender/collada/TransformReader.cpp @@ -84,7 +84,7 @@ void TransformReader::dae_rotate_to_mat4(COLLADAFW::Transformation *tm, float m[ COLLADAFW::Rotate *ro = (COLLADAFW::Rotate *)tm; COLLADABU::Math::Vector3& axis = ro->getRotationAxis(); const float angle = (float)DEG2RAD(ro->getRotationAngle()); - const float ax[] = {axis[0], axis[1], axis[2]}; + const float ax[] = {(float)axis[0], (float)axis[1], (float)axis[2]}; // float quat[4]; // axis_angle_to_quat(quat, axis, angle); // quat_to_mat4(m, quat); |