From 2ef5b676b57d368a6ee2d824f8463344aa2a15cc Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 2 Oct 2005 23:19:36 +0000 Subject: [PATCH] Changed the sign of the priority of a collapse. Now it is its the error as it should (and not -error) --- vcg/complex/local_optimization/tri_edge_collapse_quadric.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/complex/local_optimization/tri_edge_collapse_quadric.h b/vcg/complex/local_optimization/tri_edge_collapse_quadric.h index 6d39e48d..d4d262dd 100644 --- a/vcg/complex/local_optimization/tri_edge_collapse_quadric.h +++ b/vcg/complex/local_optimization/tri_edge_collapse_quadric.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.7 2005/04/14 11:35:07 ponchio +*** empty log message *** + Revision 1.6 2005/01/19 10:35:28 cignoni Better management of symmetric/asymmetric edge collapses @@ -371,7 +374,7 @@ public: //Rrestore old position of v0 and v1 v[0]->P()=OldPos0; v[1]->P()=OldPos1; - this->_priority = -error; + this->_priority = error; return this->_priority; }