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