Restored correct assimp mesh loading flags (Fixes #214)
This commit is contained in:
parent
cff9eb6b30
commit
0495b605fd
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ public:
|
||||||
// Loads the mesh with some default flags
|
// Loads the mesh with some default flags
|
||||||
bool LoadMesh(const std::string& filename)
|
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);
|
return LoadMesh(filename, flags);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue