re-added the empty constructor to marker face...

This commit is contained in:
Paolo Cignoni 2011-11-21 14:04:23 +00:00
parent 7616955d64
commit 3d6857a0b0
1 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,7 @@ namespace vcg {
class FaceTmark:public Tmark<MESH_TYPE,typename MESH_TYPE::FaceType> class FaceTmark:public Tmark<MESH_TYPE,typename MESH_TYPE::FaceType>
{ {
public: public:
FaceTmark(){}
FaceTmark(MESH_TYPE *m) {this->SetMesh(m);} FaceTmark(MESH_TYPE *m) {this->SetMesh(m);}
}; };
@ -279,8 +280,7 @@ namespace vcg {
OBJPTRCONTAINER & _objectPtrs) OBJPTRCONTAINER & _objectPtrs)
{ {
typedef FaceTmark<MESH> MarkerFace; typedef FaceTmark<MESH> MarkerFace;
MarkerFace mf; MarkerFace mf(&mesh);
mf.SetMesh(&mesh);
return(gr.GetInBox/*<MarkerFace,OBJPTRCONTAINER>*/(mf,_bbox,_objectPtrs)); return(gr.GetInBox/*<MarkerFace,OBJPTRCONTAINER>*/(mf,_bbox,_objectPtrs));
} }