Fixed the comparison operator in the seam_mesh's halfedge_descriptor

A simple comparison between the halfedge_descriptor of the base mesh is enough
This commit is contained in:
Mael Rouxel-Labbé 2016-11-29 17:24:48 +01:00
parent 71abaa7249
commit 22c1ea15ff
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ struct Seam_mesh_halfedge_descriptor
bool operator<(const Seam_mesh_halfedge_descriptor& other) const
{
if(tmhd == other.tmhd)
return static_cast<int>(seam) < static_cast<int>(other.seam);
return tmhd < other.tmhd;
}