From f7a602625fc4253ac2946ef1ada35bf9446ed13b Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Mon, 8 Dec 2014 15:13:32 +0000 Subject: [PATCH] minor change to merge vertex coherently (keep the same global ordering of the vertices) --- vcg/complex/algorithms/clean.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index 33d50e0f..6aebc82e 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -130,7 +130,7 @@ public: public: inline bool operator()(VertexPointer const &a, VertexPointer const &b) { - return (*a).cP() < (*b).cP(); + return ((*a).cP() == (*b).cP()) ? (a