Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
@@ -38,12 +38,11 @@ namespace AZ
{
AZ_TracePrintf(SceneAPI::Utilities::LogWindow, "AssImpSceneWrapper::LoadSceneFromFile %s", fileName);
AZ_TraceContext("Filename", fileName);
m_importer.SetPropertyBool(AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS, false);
m_sceneFileName = fileName;
m_assImpScene = m_importer.ReadFile(fileName,
aiProcess_CalcTangentSpace //Calculates the tangents and bitangents for the imported meshes
| aiProcess_Triangulate //Triangulates all faces of all meshes
aiProcess_Triangulate //Triangulates all faces of all meshes
| aiProcess_JoinIdenticalVertices //Identifies and joins identical vertex data sets for the imported meshes
| aiProcess_SortByPType //Splits meshes with more than one primitive type into homogeneous sub - meshes
| aiProcess_FixInfacingNormals //Fixes inward facing normals, AssImp documentation recommends setting this
| aiProcess_GenNormals); //Generate normals for meshes
if (!m_assImpScene)
{