Skip to content

Commit 08db40d

Browse files
committed
fix so continuous rotation unit tests pass
1 parent 0c98f9b commit 08db40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxAnimationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ public int ContinuousRotationAnimTest (RotationCurveType rotCurveType, float []
747747
}
748748

749749
KeyData keyData = new TransformKeyData {
750-
importSettings = new {resampleCurves = false, animationType= ModelImporterAnimationType.Legacy, animationCompression = ModelImporterAnimationCompression.Off},
750+
importSettings = new {resampleCurves = false, animationType= ModelImporterAnimationType.Legacy, animationCompression = ModelImporterAnimationCompression.Off, importConstraints = true},
751751
compareOriginalKeys=compareOriginalKeys, RotationType = rotCurveType, propertyNames = propertyNames, componentType = componentType, keyTimes = keyTimesInSeconds, keyEulerValues = keyEulerValues };
752752

753753
var tester = new AnimTester {keyData=keyData, testName=testName, path=GetRandomFbxFilePath ()};

0 commit comments

Comments
 (0)