mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 18:18:34 +05:00
0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
optimize Renumber()
This commit is contained in:
parent
b892591624
commit
5231e88856
@ -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