Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-17 03:39:29 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-17 03:39:29 +0300
commitf2453ecdcd179fb696494d03501c0dd149ee1ed2 (patch)
tree23fdd70d99c95b5efab3fb258db77b68501aa059 /source/blender/collada/AnimationExporter.cpp
parent09eb790f4bbc89ceac0dda949f2f42a3c94883a4 (diff)
parent5bc2c17161cfc23ca2d8c58e7e24458c277100ae (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r--source/blender/collada/AnimationExporter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp
index 01f800b08e1..cc772535e37 100644
--- a/source/blender/collada/AnimationExporter.cpp
+++ b/source/blender/collada/AnimationExporter.cpp
@@ -989,6 +989,9 @@ std::string AnimationExporter::create_4x4_source(std::vector<float> &frames, Obj
double outmat[4][4];
converter.mat4_to_dae_double(outmat, mat);
+ if (this->export_settings->limit_precision)
+ bc_sanitize_mat(outmat, 6);
+
source.appendValues(outmat);
j++;