From 4dd2335fb8725b4356d15bc6365931711657c7dc Mon Sep 17 00:00:00 2001 From: Xiao Qi Date: Mon, 26 Sep 2022 19:09:45 +0800 Subject: [PATCH] Removed assimp post processing flag that was removing animations --- SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp index c1637e1f..3ef454a0 100644 --- a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp +++ b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp @@ -100,9 +100,7 @@ namespace SHADE | aiProcess_JoinIdenticalVertices // join identical vertices/ optimize indexing | aiProcess_RemoveRedundantMaterials // remove redundant materials - | aiProcess_FindInvalidData - // detect invalid model data, such as invalid normal vectors - | aiProcess_PreTransformVertices // pre-transform all vertices + | aiProcess_FindInvalidData// detect invalid model data, such as invalid normal vectors | aiProcess_FlipUVs // flip the V to match the Vulkans way of doing UVs );