From 0495b605fd43efdfe753d872ef8bea7c80e95ae5 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Thu, 28 Jul 2016 23:14:45 +0200 Subject: [PATCH] Restored correct assimp mesh loading flags (Fixes #214) --- base/vulkanMeshLoader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/vulkanMeshLoader.hpp b/base/vulkanMeshLoader.hpp index 271cf0a6..7266a6f9 100644 --- a/base/vulkanMeshLoader.hpp +++ b/base/vulkanMeshLoader.hpp @@ -289,7 +289,7 @@ public: // Loads the mesh with some default flags bool LoadMesh(const std::string& filename) { - int flags = aiProcess_FlipWindingOrder | aiProcess_Triangulate/* | aiProcess_PreTransformVertices*/ | aiProcess_CalcTangentSpace | aiProcess_GenSmoothNormals; + int flags = aiProcess_FlipWindingOrder | aiProcess_Triangulate | aiProcess_PreTransformVertices | aiProcess_CalcTangentSpace | aiProcess_GenSmoothNormals; return LoadMesh(filename, flags); }