Added a RequirePerVertexMark to the init function of the collapse framework.

This commit is contained in:
Paolo Cignoni 2015-03-24 17:57:40 +00:00
parent 7b31a05a99
commit f2d3ff160c
1 changed files with 51 additions and 50 deletions

View File

@ -212,6 +212,7 @@ public:
static void Init(TriMeshType &m, HeapType &h_ret, BaseParameterClass *pp)
{
vcg::tri::RequirePerVertexMark(m);
vcg::tri::UpdateTopology<TriMeshType>::VertexFace(m);
h_ret.clear();
typename TriMeshType::FaceIterator fi;