This commit is contained in:
Perfare
2019-07-16 17:49:10 +08:00
parent a6264b39d1
commit 32cce894ac
3 changed files with 7 additions and 1 deletions

View File

@ -49,6 +49,11 @@ namespace AssetStudio
FbxGlobalSettings& globalSettings = pScene->GetGlobalSettings();
globalSettings.SetSystemUnit(FbxSystemUnit(scaleFactor));
auto ani = imported->AnimationList[0];
if (ani->SampleRate == 60.0f)
{
globalSettings.SetTimeMode(FbxTime::eFrames60);
}
cDest = StringToUTF8(name);
pExporter = FbxExporter::Create(pScene, "");