amf: fix warning: unused variable.

pull/2966/head
Kim Kulling 2020-09-27 21:06:14 +02:00
parent 5877f81419
commit bdd3c96eee
1 changed files with 2 additions and 2 deletions

View File

@ -800,13 +800,13 @@ void ColladaParser::ReadImage(XmlNode &node, Collada::Image &pImage) {
// make sure we skip over mip and array initializations, which // make sure we skip over mip and array initializations, which
// we don't support, but which could confuse the loader if // we don't support, but which could confuse the loader if
// they're not skipped. // they're not skipped.
int v = currentNode.attribute("ref").as_int(); //int v = currentNode.attribute("ref").as_int();
/* if (v y) { /* if (v y) {
ASSIMP_LOG_WARN("Collada: Ignoring texture array index"); ASSIMP_LOG_WARN("Collada: Ignoring texture array index");
continue; continue;
}*/ }*/
v = currentNode.attribute("mip_index").as_int(); //v = currentNode.attribute("mip_index").as_int();
/*if (attrib != -1 && v > 0) { /*if (attrib != -1 && v > 0) {
ASSIMP_LOG_WARN("Collada: Ignoring MIP map layer"); ASSIMP_LOG_WARN("Collada: Ignoring MIP map layer");
continue; continue;