PMP: Make stitch_borders deterministic

This commit is contained in:
Andreas Fabri 2025-05-14 15:00:44 +01:00
parent e811ba2f72
commit 12eb3ff18c
1 changed files with 2 additions and 2 deletions

View File

@ -106,9 +106,9 @@ struct Default_halfedges_keeper
{
typedef typename boost::graph_traits<Mesh>::halfedge_descriptor halfedge_descriptor;
halfedge_descriptor operator()(const halfedge_descriptor h1, const halfedge_descriptor h2) const
halfedge_descriptor operator()(const halfedge_descriptor h1, const halfedge_descriptor) const
{
return (h1 < h2) ? h1 : h2; // Arbitrary preference
return h1;
}
};