All the functions handling TriMesh::imark have been moved outside the definition

of TriMesh to workaround an internal compiler error of vc compiler, and the usages have been
consequently updated
This commit is contained in:
ganovelli 2010-03-19 17:14:01 +00:00
parent 584936f27a
commit ca8d4abed3
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@ namespace vcg {
public:
Tmark(){}
Tmark( MESH_TYPE *m) {SetMesh(m);}
void UnMarkAll(){m->UnMarkAll();}
bool IsMarked(OBJ_TYPE* obj){return (m->IsMarked(obj));}
void Mark(OBJ_TYPE* obj){m->Mark(obj);}
void UnMarkAll(){ vcg::tri::UnMarkAll(*m);}
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;}
};