added a missing RequirePerFaceMark in the Marker Class

This commit is contained in:
Paolo Cignoni 2014-04-17 08:51:53 +00:00
parent c280fd8e23
commit 309d1e3289
1 changed files with 348 additions and 345 deletions

View File

@ -51,7 +51,10 @@ namespace vcg {
bool IsMarked(OBJ_TYPE* obj){return (vcg::tri::IsMarked(*m,obj));}
void Mark(OBJ_TYPE* obj){ vcg::tri::Mark(*m,obj);}
void SetMesh(MESH_TYPE *_m)
{m=_m;}
{
tri::RequirePerFaceMark(*_m);
m=_m;
}
};
template <class MESH_TYPE>