fasten code,

fixed vertex crash,
still crashes while getting UV data,
vertex are not displayed correctly
This commit is contained in:
Anakin
2016-10-16 16:50:20 +02:00
parent 9700638548
commit e583c361ec
4 changed files with 85 additions and 28 deletions

View File

@@ -286,7 +286,8 @@ void OpenGLController::loadMsh(const char * path)
Object obj(path);
vfVertices = obj.getVertex();
vfUV = obj.getUV();
vfUV = loadUV();
//vfUV = obj.getUV();
}
catch (std::invalid_argument e)
{