added a safeness assert
This commit is contained in:
parent
7da7c0128e
commit
75e3cc2a18
wrap/dae
|
@ -849,6 +849,7 @@ private:
|
|||
for(typename MESHMODELTYPE::ConstFaceIterator itf = m.face.begin();itf != m.face.end();++itf)
|
||||
{
|
||||
int tmp = itf->cWT(0).N();
|
||||
assert(tmp>=0 && tmp<patches.size());
|
||||
patches[tmp].push_back(cc);
|
||||
++cc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue