collada: fix warning: unused variable.

pull/2966/head
Kim Kulling 2020-09-27 21:11:42 +02:00
parent 3f97a1df2c
commit 202907d471
1 changed files with 1 additions and 1 deletions

View File

@ -1585,7 +1585,7 @@ void ColladaParser::ReadIndexData(XmlNode &node, Mesh &pMesh) {
std::vector<InputChannel> perIndexData; std::vector<InputChannel> perIndexData;
unsigned int numPrimitives; unsigned int numPrimitives;
XmlParser::getUIntAttribute(node, "count", (unsigned int)numPrimitives); XmlParser::getUIntAttribute(node, "count", numPrimitives);
// read primitive count from the attribute // read primitive count from the attribute
//int attrCount = GetAttribute("count"); //int attrCount = GetAttribute("count");
//size_t numPrimitives = (size_t)mReader->getAttributeValueAsInt(attrCount); //size_t numPrimitives = (size_t)mReader->getAttributeValueAsInt(attrCount);