PAL13460 (PAL EDF 301 force the mesh to go through a point)

fix Transform()
This commit is contained in:
eap 2007-03-01 07:32:41 +00:00
parent e2f918aec1
commit 7e6191aa6a

View File

@ -4295,8 +4295,8 @@ void SMESH_MeshEditor::Transform (TIDSortedElemSet & theElems,
continue; // not all nodes transformed
if ( theCopy ) {
if ( SMDS_MeshElement* elem = AddElement( nodes, elem->GetType(), elem->IsPoly() ))
myLastCreatedElems.Append( elem );
if ( SMDS_MeshElement* copy = AddElement( nodes, elem->GetType(), elem->IsPoly() ))
myLastCreatedElems.Append( copy );
}
else
{