From bfd1d67c062ad9f60bc5315afaaed0d9f272b006 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 17 Apr 2018 16:48:30 +0300 Subject: [PATCH] 54381: TC8.5.0: SMESH: Regression reading HDF files --- src/SMESH_I/SMESH_PreMeshInfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_PreMeshInfo.cxx b/src/SMESH_I/SMESH_PreMeshInfo.cxx index c2181296c..38c13009c 100644 --- a/src/SMESH_I/SMESH_PreMeshInfo.cxx +++ b/src/SMESH_I/SMESH_PreMeshInfo.cxx @@ -958,7 +958,7 @@ void SMESH_PreMeshInfo::readSubMeshes(DriverMED_R_SMESHDS_Mesh* reader) const if ( isNode ) { SMDS_PositionPtr pos = aPositionCreator.MakePosition( smType[ smID ]); SMDS_MeshNode* node = const_cast( static_cast( elem )); - node->SetPosition( pos ); + node->SetPosition( pos, sm->GetID() ); sm->AddNode( node ); } else { sm->AddElement( elem ); -- 2.39.2