Skip to content

Commit cb533ab

Browse files
committed
add temporary debug statements
1 parent a0e2718 commit cb533ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.unity.formats.fbx/Editor/FbxExporter.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,7 @@ internal void ExportAnimationKeys (AnimationCurve uniAnimCurve, FbxAnimCurve fbx
18531853
interpMode = FbxAnimCurveDef.EInterpolationType.eInterpolationConstant;
18541854
break;
18551855
default:
1856+
Debug.LogError("interpolation: " + rTangent);
18561857
break;
18571858
}
18581859

@@ -1878,6 +1879,8 @@ internal void ExportAnimationKeys (AnimationCurve uniAnimCurve, FbxAnimCurve fbx
18781879
keyIndex < uniAnimCurve.length - 1 ? uniAnimCurve[keyIndex + 1].inWeight : 0
18791880
);
18801881

1882+
Debug.LogWarning(uniPropertyName + ": tangents: " + uniKeyFrame.inTangent + ", " + uniKeyFrame.outTangent + ", weights: " + uniKeyFrame.inWeight + ", " + uniKeyFrame.outWeight);
1883+
18811884
if (!(MapUnityKeyTangentModeToFBX.ContainsKey(lTangent) && MapUnityKeyTangentModeToFBX.ContainsKey(rTangent)))
18821885
{
18831886
Debug.LogWarning(string.Format("key[{0}] missing tangent mapping ({1},{2})", keyIndex, lTangent.ToString(), rTangent.ToString()));

0 commit comments

Comments
 (0)