amf: fix warning: unused variable.
parent
5877f81419
commit
bdd3c96eee
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue