diff --git a/vcg/complex/algorithms/parametrization/voronoi_atlas.h b/vcg/complex/algorithms/parametrization/voronoi_atlas.h index 489d1513..345c5399 100644 --- a/vcg/complex/algorithms/parametrization/voronoi_atlas.h +++ b/vcg/complex/algorithms/parametrization/voronoi_atlas.h @@ -197,7 +197,7 @@ public: CollectUVBorder(rm,uvBorder); meshRegionVec.push_back(rm); uvBorders.push_back(uvBorder); - int foldedCnt = tri::Distortion::Folded(*rm); + int foldedCnt = tri::Distortion::FoldedNum(*rm); if( foldedCnt > rm->fn/10) { badRegionVec.push_back(rm);