Modification some functionality for splitting assembly

This commit is contained in:
skl 2005-10-06 12:26:54 +00:00
parent 3f8c64cc43
commit e331ccd26c

View File

@ -2467,15 +2467,12 @@ void SMESH_MeshEditor::ExtrusionSweep(set<const SMDS_MeshElement*> & theElems,
sweepElement( aMesh, elem, newNodesItVec, newElemsMap[elem] );
// fill history
//TColStd_ListOfInteger ListNewID;
SMESH_SequenceOfElemPtr SeqNewME;
list<const SMDS_MeshElement*> tmpList = newElemsMap[elem];
for(list<const SMDS_MeshElement*>::iterator ite = tmpList.begin();
ite!=tmpList.end(); ite++) {
//ListNewID.Append((*ite)->GetID());
SeqNewME.Append(*ite);
}
//myExtrusionHistory.Bind(elem->GetID(),ListNewID);
myExtrusionHistory.Bind(elem,SeqNewME);
// end fill history