From 8dc138cf27eb8cccdd05d9ed6db28b273a199f37 Mon Sep 17 00:00:00 2001 From: malomo Date: Mon, 12 Nov 2012 12:38:20 +0000 Subject: [PATCH] fixed CrossField::IsSingularByCross() function --- .../algorithms/parametrization/tangent_field_operators.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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