From: eap Date: Fri, 21 Nov 2008 10:55:53 +0000 (+0000) Subject: 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM X-Git-Tag: V4_1_4rc2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=631457134c4453e49afa07275cdb8ae702de3868;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();