diff --git a/vcg/complex/algorithms/quadrangulator.h b/vcg/complex/algorithms/quadrangulator.h index b3f7d057..46ce0831 100644 --- a/vcg/complex/algorithms/quadrangulator.h +++ b/vcg/complex/algorithms/quadrangulator.h @@ -671,7 +671,8 @@ public: void Quadrangulate(TriMesh &Tmesh, PolyMesh &Pmesh, - std::vector< std::vector< short int> > &UV) + std::vector< std::vector< short int> > &UV, + bool preserve_border_corner=true) { UV.clear(); Pmesh.Clear(); @@ -714,6 +715,9 @@ public: for (int i=0;i::VertexCornerBorder(Tmesh,math::ToRad(150.0),true); + std::vector > polygons; FindPolygons(Tmesh,polygons,UV);