assert replaced with a require
This commit is contained in:
parent
f72e9a1481
commit
6e221cc7ab
|
@ -111,7 +111,7 @@ namespace vcg {
|
|||
|
||||
|
||||
if (mask &io::Mask::IOM_BITPOLYGONAL) {
|
||||
assert(tri::HasFFAdjacency(m));
|
||||
tri::RequireFFAdjacency(m);
|
||||
std::vector<VertexPointer> polygon;
|
||||
tri::UpdateFlags<SaveMeshType>::FaceClearV(m);
|
||||
for(fi=m.face.begin();fi!=m.face.end();++fi) if (!fi->IsD()) if (!fi->IsV()) {
|
||||
|
|
Loading…
Reference in New Issue