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:
parent
584936f27a
commit
ca8d4abed3
|
@ -147,9 +147,9 @@ namespace vcg {
|
||||||
public:
|
public:
|
||||||
Tmark(){}
|
Tmark(){}
|
||||||
Tmark( MESH_TYPE *m) {SetMesh(m);}
|
Tmark( MESH_TYPE *m) {SetMesh(m);}
|
||||||
void UnMarkAll(){m->UnMarkAll();}
|
void UnMarkAll(){ vcg::tri::UnMarkAll(*m);}
|
||||||
bool IsMarked(OBJ_TYPE* obj){return (m->IsMarked(obj));}
|
bool IsMarked(OBJ_TYPE* obj){return (vcg::tri::IsMarked(*m,obj));}
|
||||||
void Mark(OBJ_TYPE* obj){m->Mark(obj);}
|
void Mark(OBJ_TYPE* obj){ vcg::tri::Mark(*m,obj);}
|
||||||
void SetMesh(MESH_TYPE *_m)
|
void SetMesh(MESH_TYPE *_m)
|
||||||
{m=_m;}
|
{m=_m;}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue