From 395dbe2b4f2e10ac57d5bca47da22446df6324ba Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Mon, 4 Apr 2022 09:11:31 -0700 Subject: [PATCH] Apply the rotation pivots. --- src/fbx/Fbx2Raw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fbx/Fbx2Raw.cpp b/src/fbx/Fbx2Raw.cpp index c4171e6..d66bcd9 100644 --- a/src/fbx/Fbx2Raw.cpp +++ b/src/fbx/Fbx2Raw.cpp @@ -745,7 +745,7 @@ static void ReadNodeHierarchy( // Set the initial node transform. const FbxAMatrix localTransform = pNode->EvaluateLocalTransform(); - FbxVector4 localTranslation = localTransform.GetT(); + FbxVector4 localTranslation = computeLocalTranslation(pNode); FbxQuaternion localRotation = localTransform.GetQ(); FbxVector4 localScaling = computeLocalScale(pNode);