fix regression of smesh/3D_mesh_NETGEN/E8

This commit is contained in:
eap 2011-06-15 12:07:46 +00:00
parent 170b99e7d4
commit f70b1805f0

View File

@ -1688,7 +1688,7 @@ void SMESH_MeshEditor::SplitVolumesIntoTetra (const TIDSortedElemSet & theElems,
swap( n2, n3 );
triangles.push_back( helper.AddFace( n1,n2,n3 ));
if ( n3->getshapeId() < 1 )
if ( fSubMesh && n3->getshapeId() < 1 )
fSubMesh->AddNode( n3 );
}
}