X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_MeshEditor.cxx;h=3ab795264d54f260c7c2bc43e15165ed8aeeede2;hp=c1d184c3751f74e9ebcf00a1aeaf5dc9c41ae06e;hb=05ae10badd80e02346c06faf21f68062400f3f20;hpb=c9c6669fab21f2a0d544d79e60ceb119800b4cb5 diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index c1d184c37..3ab795264 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -63,6 +63,7 @@ #include #include #include +#include #include @@ -2464,6 +2465,17 @@ void SMESH_MeshEditor::ExtrusionSweep(set & theElems, } // make new elements sweepElement( aMesh, elem, newNodesItVec, newElemsMap[elem] ); + + // fill history + TColStd_ListOfInteger ListNewID; + list tmpList = newElemsMap[elem]; + for(list::iterator ite = tmpList.begin(); + ite!=tmpList.end(); ite++) { + ListNewID.Append((*ite)->GetID()); + } + myExtrusionHistory.Bind(elem->GetID(),ListNewID); + // end fill history + } makeWalls( aMesh, mapNewNodes, newElemsMap, mapElemNewNodes, theElems ); }