diff --git a/vcg/complex/trimesh/halfedge_quad_clean.h b/vcg/complex/trimesh/halfedge_quad_clean.h index b7755248..0d2c5198 100755 --- a/vcg/complex/trimesh/halfedge_quad_clean.h +++ b/vcg/complex/trimesh/halfedge_quad_clean.h @@ -296,9 +296,9 @@ namespace vcg { if( !((*fi).IsD()) ) { - if( HalfEdgeTopology::is_singlet(&(*fi)) ) + if( HalfEdgeTopology::is_singlet_quad(&(*fi)) ) { - HalfEdgeTopology::singlet_remove(m, &(*fi)); + HalfEdgeTopology::singlet_remove_quad(m, &(*fi)); count++; } } diff --git a/vcg/complex/trimesh/update/halfedge_topology.h b/vcg/complex/trimesh/update/halfedge_topology.h index 80e28114..aaa6db69 100644 --- a/vcg/complex/trimesh/update/halfedge_topology.h +++ b/vcg/complex/trimesh/update/halfedge_topology.h @@ -1280,7 +1280,7 @@ namespace vcg } /*! - * Checks if a vertex is non-manifold, ased only on local informations + * Checks if a vertex is non-manifold, based only on local informations * * \param vp Vertex to check * @@ -1468,12 +1468,12 @@ namespace vcg protected: /*! - * Gets all edges incident to a face + * Gets all hedges incident to a face * * \param fp Face * \param starting_he A hedge in the face from which to start * - * \return Vector containing the incident edges + * \return Vector containing the incident hedges */ static vector getHEdges(FacePointer fp, HEdgePointer starting_he = NULL) {