diff --git a/vcg/complex/algorithms/polygonal_algorithms.h b/vcg/complex/algorithms/polygonal_algorithms.h index 9e6d0a80..20834652 100644 --- a/vcg/complex/algorithms/polygonal_algorithms.h +++ b/vcg/complex/algorithms/polygonal_algorithms.h @@ -1380,18 +1380,24 @@ public: }while (!NeedMerge.empty()); } - static void Triangulate(PolyMeshType &poly_m, bool alsoTriangles = true) + static void Triangulate(PolyMeshType &poly_m, + bool alsoTriangles = true, + bool OnlyS=false) { size_t size0 = poly_m.face.size(); if (alsoTriangles) { for (size_t i=0; i 3) { Triangulate(poly_m, i);