diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-04-03 11:48:00 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-04-03 11:48:00 +0300 |
commit | 368b74315a58f66187b924cbc646abd05ce6a2b7 (patch) | |
tree | ff14725d78e3e9ca13cd4255b48ae2ad218d0f71 /source/blender/collada/ArmatureExporter.cpp | |
parent | f65d6ea95458ad53715f09165d37f2486e4750be (diff) |
Collada - add flag to limit precision of exported data, mainly to simplify debugging
Diffstat (limited to 'source/blender/collada/ArmatureExporter.cpp')
-rw-r--r-- | source/blender/collada/ArmatureExporter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/collada/ArmatureExporter.cpp b/source/blender/collada/ArmatureExporter.cpp index 49722873a91..9348f3b3285 100644 --- a/source/blender/collada/ArmatureExporter.cpp +++ b/source/blender/collada/ArmatureExporter.cpp @@ -304,7 +304,9 @@ void ArmatureExporter::add_bone_transform(Object *ob_arm, Bone *bone, COLLADASW: } } - bc_sanitize_mat(mat, 6); // XXX: Make this optional ? + if (this->export_settings->limit_precision) + bc_sanitize_mat(mat, 6); + TransformWriter::add_node_transform(node, mat, NULL); } |