From cb138553285e34dda1d35eef86f0f7bffc55973f Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Tue, 22 Jan 2013 09:58:20 +0000 Subject: [PATCH] corrected 1 compilation error SetVertCrossVectorFromFace --- .../algorithms/parametrization/tangent_field_operators.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/parametrization/tangent_field_operators.h b/vcg/complex/algorithms/parametrization/tangent_field_operators.h index 55b11af0..e96f723c 100644 --- a/vcg/complex/algorithms/parametrization/tangent_field_operators.h +++ b/vcg/complex/algorithms/parametrization/tangent_field_operators.h @@ -82,6 +82,7 @@ namespace vcg { } } assert(ret!=-1); + return ret; } @@ -327,7 +328,8 @@ namespace vcg { static void SetVertCrossVectorFromFace(VertexType &v) { std::vector faceVec; - vcg::face::VFStarVF(&v,faceVec); + std::vector index; + vcg::face::VFStarVF(&v,faceVec,index); std::vector TangVect; std::vector Norms; for (unsigned int i=0;i