From: eap Date: Tue, 17 Apr 2018 13:48:30 +0000 (+0300) Subject: 54381: TC8.5.0: SMESH: Regression reading HDF files X-Git-Tag: V8_5_0rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bfd1d67c062ad9f60bc5315afaaed0d9f272b006;p=modules%2Fsmesh.git 54381: TC8.5.0: SMESH: Regression reading HDF files --- 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 );