More bugfixes from Jonathan:
- fixed material loading in OBJ importer - Bugfix: loads obj files without texture coords correctly now git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@144 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -240,8 +240,10 @@ void ObjFileParser::getFace()
|
||||
if (iPos == 0)
|
||||
{
|
||||
//if there are no texturecoordinates in the obj file but normals
|
||||
if (!vt && vn)
|
||||
if (!vt && vn) {
|
||||
iPos = 1;
|
||||
iStep++;
|
||||
}
|
||||
}
|
||||
iPos++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user