diff --git a/vcg/complex/algorithms/parametrization/tangent_field_operators.h b/vcg/complex/algorithms/parametrization/tangent_field_operators.h index b2cf8fb0..99f71ad4 100644 --- a/vcg/complex/algorithms/parametrization/tangent_field_operators.h +++ b/vcg/complex/algorithms/parametrization/tangent_field_operators.h @@ -498,8 +498,10 @@ namespace vcg { if (v.IsB())return false; std::vector faces; - //SortedFaces(v,faces); - vcg::face::VFOrderedStarVF_FF(v,faces); + std::vector edges; + //SortedFaces(v,faces); + vcg::face::Pos pos(v.VFp(), v.VFi()); + vcg::face::VFOrderedStarFF(pos, faces, edges); missmatch=0; for (unsigned int i=0;i