浏览代码

Apply the rotation pivots.

K. S. Ernest (iFire) Lee 3 年之前
父节点
当前提交
395dbe2b4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/fbx/Fbx2Raw.cpp

+ 1 - 1
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);