Skip to content

Commit

Permalink
When import fbx, change coordinates automatically #1210
Browse files Browse the repository at this point in the history
  • Loading branch information
timi-liuliang committed Nov 27, 2022
1 parent 74489d3 commit 9157eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/modules/model/importer/fbx/fbx_importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ namespace Echo

void FbxImporter::saveMeshs(ofbx::IScene* fbxScene, const String& fbxFile)
{
const ofbx::GlobalSettings* fbxGlobalSettings = fbxScene->getGlobalSettings();
for (int i = 0; i < fbxScene->getMeshCount(); i++)
{
const ofbx::Mesh* fbxMesh = fbxScene->getMesh(i);
Expand Down

0 comments on commit 9157eaa

Please # to comment.