mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 12:00:34 +05:00
regerssion of the test bugs/X6
compute nodes on VERTEX'es if they are not yet there
This commit is contained in:
parent
dcc4bf0d8f
commit
83613129f4
@ -396,6 +396,15 @@ bool StdMeshers_CompositeSegment_1D::Compute(SMESH_Mesh & aMesh,
|
|||||||
|
|
||||||
// Create mesh
|
// 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 * nFirst = SMESH_Algo::VertexNode( VFirst, meshDS );
|
||||||
const SMDS_MeshNode * nLast = SMESH_Algo::VertexNode( VLast, meshDS );
|
const SMDS_MeshNode * nLast = SMESH_Algo::VertexNode( VLast, meshDS );
|
||||||
if (!nFirst)
|
if (!nFirst)
|
||||||
|
Loading…
Reference in New Issue
Block a user