regerssion of the test bugs/X6

compute nodes on VERTEX'es if they are not yet there
This commit is contained in:
eap 2012-11-22 14:24:52 +00:00
parent dcc4bf0d8f
commit 83613129f4

View File

@ -396,6 +396,15 @@ bool StdMeshers_CompositeSegment_1D::Compute(SMESH_Mesh & aMesh,
// Create mesh
// compute and get nodes on extremity VERTEX'es
SMESH_subMesh* smVFirst = aMesh.GetSubMesh( VFirst );
smVFirst->SetIsAlwaysComputed( false );
smVFirst->ComputeStateEngine( SMESH_subMesh::COMPUTE );
//
SMESH_subMesh* smVLast = aMesh.GetSubMesh( VLast );
smVLast->SetIsAlwaysComputed( false );
smVLast->ComputeStateEngine( SMESH_subMesh::COMPUTE );
//
const SMDS_MeshNode * nFirst = SMESH_Algo::VertexNode( VFirst, meshDS );
const SMDS_MeshNode * nLast = SMESH_Algo::VertexNode( VLast, meshDS );
if (!nFirst)