From 3d6857a0b08b65b10e89e4fe299252013977a358 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 21 Nov 2011 14:04:23 +0000 Subject: [PATCH] re-added the empty constructor to marker face... --- vcg/complex/algorithms/closest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/closest.h b/vcg/complex/algorithms/closest.h index c007390c..e6fa0faf 100644 --- a/vcg/complex/algorithms/closest.h +++ b/vcg/complex/algorithms/closest.h @@ -58,6 +58,7 @@ namespace vcg { class FaceTmark:public Tmark { public: + FaceTmark(){} FaceTmark(MESH_TYPE *m) {this->SetMesh(m);} }; @@ -279,8 +280,7 @@ namespace vcg { OBJPTRCONTAINER & _objectPtrs) { typedef FaceTmark MarkerFace; - MarkerFace mf; - mf.SetMesh(&mesh); + MarkerFace mf(&mesh); return(gr.GetInBox/**/(mf,_bbox,_objectPtrs)); }