Subdivision: fix compiler warning from debug check.
parent
305e27d1a5
commit
9708a4db93
|
@ -399,10 +399,14 @@ void CatmullClarkSubdivider::InternSubdivide (
|
||||||
bool haveit = false;
|
bool haveit = false;
|
||||||
for (unsigned int i = 0; i < f.mNumIndices; ++i) {
|
for (unsigned int i = 0; i < f.mNumIndices; ++i) {
|
||||||
if (maptbl[FLATTEN_VERTEX_IDX(n,f.mIndices[i])]==(unsigned int)t) {
|
if (maptbl[FLATTEN_VERTEX_IDX(n,f.mIndices[i])]==(unsigned int)t) {
|
||||||
haveit = true; break;
|
haveit = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ai_assert(haveit);
|
ai_assert(haveit);
|
||||||
|
if (!haveit) {
|
||||||
|
DefaultLogger::get()->debug("Catmull-Clark Subdivider: Index not used");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue