diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-12-01 10:32:02 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-12-01 10:32:15 +0300 |
commit | 58877d6d082d82185ca611b704364168e5984bd7 (patch) | |
tree | 0ca586bbdab38618fee2dea6c0c668756f2cd75b /source/blender/alembic/intern/abc_util.cc | |
parent | 05b181fbc55ae9eac82d15e9abd45d32a2f386d8 (diff) |
Alembic: quiet compilation warnings on Windows.
Most of them are harmless implicit conversions (e.g. Alembic deals with
doubles for storing time information when Blender uses both ints and
floats/doubles) or class/struct mismatch on forward declarations.
Diffstat (limited to 'source/blender/alembic/intern/abc_util.cc')
-rw-r--r-- | source/blender/alembic/intern/abc_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_util.cc b/source/blender/alembic/intern/abc_util.cc index 979a72fcf4e..f8ce72d845d 100644 --- a/source/blender/alembic/intern/abc_util.cc +++ b/source/blender/alembic/intern/abc_util.cc @@ -215,7 +215,7 @@ void convert_matrix(const Imath::M44d &xform, Object *ob, { for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { - r_mat[i][j] = xform[i][j]; + r_mat[i][j] = static_cast<float>(xform[i][j]); } } |