From 070acfbaddc99db506b90667dc3026644561dcd8 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 29 Mar 2018 14:29:02 +0200 Subject: [PATCH] FBX Export: relax bindpose matrix check slightly. Apparently +/- 1e-5 is too strict. --- code/FBXExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXExporter.cpp b/code/FBXExporter.cpp index f31a98604..c524e3911 100644 --- a/code/FBXExporter.cpp +++ b/code/FBXExporter.cpp @@ -1784,7 +1784,7 @@ void FBXExporter::WriteObjects () // this should be the same as the bone's mOffsetMatrix. // if it's not the same, the skeleton isn't in the bind pose. - const float epsilon = 1e-5f; // some error is to be expected + const float epsilon = 1e-4f; // some error is to be expected bool bone_xform_okay = true; if (b && ! tr.Equal(b->mOffsetMatrix, epsilon)) { not_in_bind_pose.insert(b);