From f991e164a100d2f491073cfa4243fcd7bf4a13ba Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 19 Jan 2007 09:13:09 +0000 Subject: [PATCH] Added Finalize() method to the interface --- vcg/complex/local_optimization.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vcg/complex/local_optimization.h b/vcg/complex/local_optimization.h index e91eb2e8..5b39e9e6 100644 --- a/vcg/complex/local_optimization.h +++ b/vcg/complex/local_optimization.h @@ -22,6 +22,9 @@ ****************************************************************************/ /**************************************************************************** $Log: not supported by cvs2svn $ + Revision 1.19 2007/01/11 11:48:33 ganovelli + currMetric inizialied to heap.front() (it was heap.back()- wrong) + Revision 1.18 2006/12/11 14:09:44 ganovelli added missing initialization of currMetric @@ -326,6 +329,10 @@ void ClearHeap() } + template void Finalize() + { + LocalModificationType::Finalize(m,h); + } /// say if the process is to end or not: the process ends when any of the termination conditions is verified