mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +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
|
// release their ids
|
||||||
map<int,SMDS_MeshElement*>::iterator elemIt = elemMap.begin();
|
map<int,SMDS_MeshElement*>::iterator elemIt = elemMap.begin();
|
||||||
for ( ; elemIt != elemMap.end(); elemIt++ )
|
idFactory->Clear();
|
||||||
{
|
// for ( ; elemIt != elemMap.end(); elemIt++ )
|
||||||
int id = (*elemIt).first;
|
// {
|
||||||
idFactory->ReleaseID( id );
|
// int id = (*elemIt).first;
|
||||||
}
|
// idFactory->ReleaseID( id );
|
||||||
|
// }
|
||||||
// set new IDs
|
// set new IDs
|
||||||
int ID = startID;
|
int ID = startID;
|
||||||
elemIt = elemMap.begin();
|
elemIt = elemMap.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user