Skip to content

Commit 25c3922

Browse files
authored
Merge pull request #291 from Unity-Technologies/UNI-35928-fix-exported-framerate
UNI-35928 fix exported frame rate
2 parents e28208c + eb91f0c commit 25c3922

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,8 @@ protected void ExportAnimationClip (AnimationClip uniAnimClip, GameObject uniRoo
18351835
if (timeMode == FbxTime.EMode.eCustom) {
18361836
timeMode = FbxTime.EMode.eFrames30;
18371837
}
1838-
FbxTime.SetGlobalTimeMode (timeMode);
1838+
1839+
fbxScene.GetGlobalSettings ().SetTimeMode (timeMode);
18391840

18401841
// set time correctly
18411842
var fbxStartTime = FbxTime.FromSecondDouble (0);

0 commit comments

Comments
 (0)