diff --git a/vcg/complex/trimesh/smooth.h b/vcg/complex/trimesh/smooth.h index b32e29f1..e8a99ad9 100644 --- a/vcg/complex/trimesh/smooth.h +++ b/vcg/complex/trimesh/smooth.h @@ -754,12 +754,11 @@ static void VertexQualityLaplacian(MeshType &m, int step=1, bool SmoothSelected= static void VertexNormalLaplacian(MeshType &m, int step,bool SmoothSelected=false) { - SimpleTempData TD(m.vert); - LaplacianInfo lpz; - lpz.sum=CoordType(0,0,0); - lpz.cnt=0; - TD.Start(lpz); - for(int i=0;i TD(m.vert,lpz); + for(int i=0;i