mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
optimize Renumber()
This commit is contained in:
parent
3d14a19f1e
commit
631457134c
@ -2530,11 +2530,12 @@ void SMDS_Mesh::Renumber (const bool isNodes, const int startID, const int del
|
||||
}
|
||||
// release their ids
|
||||
map<int,SMDS_MeshElement*>::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();
|
||||
|
Loading…
Reference in New Issue
Block a user