fixed cloth problem

This commit is contained in:
Anakin
2016-12-03 13:39:57 +01:00
parent 46c4a166c4
commit 4078347023
4 changed files with 3 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ void Object::analyseClthChunks(Modl * dataDestination, std::list<ChunkHeader*>&
std::vector<uint32_t> tempPoly;
// for every triangle..
for (unsigned int i = 0; i < tempSize; i += 3)
for (unsigned int i = 0; i < tempSize * 3; i += 3)
{
tempPoly.clear();