Skip to content

Commit

Permalink
Attempt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AsgardXIV committed Jul 19, 2022
1 parent e81e890 commit f865ab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Havok/Source/FBX/FbxSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ void FbxSystem::LoadScene(FbxScene* scene, const char* fileName)
throw FatalException("FBX Import Error: " + errorStr);
}

FbxSystemUnit::m.ConvertScene(scene);

importer->Destroy();
}

Expand All @@ -90,6 +92,8 @@ void FbxSystem::SaveScene(FbxScene* scene, const char* fileName)
throw FatalException("Export Error: " + errorStr);
}

scene->GetGlobalSettings().SetSystemUnit(FbxSystemUnit::m);

bool exportStatus = exporter->Export(scene);

if (!exportStatus) {
Expand Down
Binary file modified XAT/Lib/XATHavokInterop/XATHavokInterop.exe
Binary file not shown.

0 comments on commit f865ab9

Please sign in to comment.