Update FBXExporter.cpp

small reformatting improvement
pull/2536/head
Kim Kulling 2019-07-26 10:55:28 +02:00 committed by GitHub
parent d8eaf0bc7f
commit 73914cd7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1842,8 +1842,10 @@ void FBXExporter::WriteObjects ()
// if it's not the same, the skeleton isn't in the bind pose.
float epsilon = 1e-4f; // some error is to be expected
float epsilon_custom = mProperties->GetPropertyFloat("BINDPOSE_EPSILON", -1);
if(epsilon_custom > 0)
if(epsilon_custom > 0) {
epsilon = epsilon_custom;
}
bool bone_xform_okay = true;
if (b && ! tr.Equal(b->mOffsetMatrix, epsilon)) {
not_in_bind_pose.insert(b);