From: eap Date: Fri, 21 Nov 2008 10:56:30 +0000 (+0000) Subject: 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM X-Git-Tag: V5_1_0rc2~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5231e888563eb72e34d3f05596a400434d00ae49;p=modules%2Fsmesh.git 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM optimize Renumber() --- diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 0b1e3cf9d..99a1eecff 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -2530,11 +2530,12 @@ void SMDS_Mesh::Renumber (const bool isNodes, const int startID, const int del } // release their ids map::iterator elemIt = elemMap.begin(); - for ( ; elemIt != elemMap.end(); elemIt++ ) - { - int id = (*elemIt).first; - idFactory->ReleaseID( id ); - } + idFactory->Clear(); +// for ( ; elemIt != elemMap.end(); elemIt++ ) +// { +// int id = (*elemIt).first; +// idFactory->ReleaseID( id ); +// } // set new IDs int ID = startID; elemIt = elemMap.begin();