ColladaParser::ReadPrimitives: rename "a" to currentPrimitive

pull/414/head
Johannes Ebersold 2014-11-19 13:51:22 +01:00 committed by Wolfgang Herget
parent 7be4badd76
commit 543bd5c0d0
1 changed files with 2 additions and 2 deletions

View File

@ -2105,7 +2105,7 @@ void ColladaParser::ReadPrimitives( Mesh* pMesh, std::vector<InputChannel>& pPer
pMesh->mFaceSize.reserve( numPrimitives);
pMesh->mFacePosIndices.reserve( indices.size() / numOffsets);
for( size_t a = 0; a < numPrimitives; a++)
for (size_t currentPrimitive = 0; currentPrimitive < numPrimitives; currentPrimitive++)
{
// determine number of points for this primitive
size_t numPoints = 0;
@ -2118,7 +2118,7 @@ void ColladaParser::ReadPrimitives( Mesh* pMesh, std::vector<InputChannel>& pPer
numPoints = 3;
break;
case Prim_Polylist:
numPoints = pVCount[a];
numPoints = pVCount[currentPrimitive];
break;
case Prim_TriFans:
case Prim_Polygon: