From b974b6987de6d8edb73fbc43fc8312a54e9f7c35 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 8 Oct 2012 09:06:50 +0000 Subject: [PATCH] Updated to reflect the naming changes in updateNormals --- vcg/complex/algorithms/smooth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/smooth.h b/vcg/complex/algorithms/smooth.h index f98e89ea..4bafff79 100644 --- a/vcg/complex/algorithms/smooth.h +++ b/vcg/complex/algorithms/smooth.h @@ -948,7 +948,7 @@ static void FaceNormalLaplacianVF(MeshType &m) for(fi=m.face.begin();fi!=m.face.end();++fi) (*fi).N()=TDF[*fi].m; - tri::UpdateNormals::NormalizeFace(m); + tri::UpdateNormals::NormalizePerFace(m); TDF.Stop(); } @@ -984,7 +984,7 @@ static void FaceNormalLaplacianFF(MeshType &m, int step=1, bool SmoothSelected=f if(!SmoothSelected || (*fi).IsS()) (*fi).N()=TDF[*fi].m; - tri::UpdateNormals::NormalizeFace(m); + tri::UpdateNormals::NormalizePerFace(m); } }