Salome HOME
54381: TC8.5.0: SMESH: Regression reading HDF files
authoreap <eap@opencascade.com>
Tue, 17 Apr 2018 13:48:30 +0000 (16:48 +0300)
committereap <eap@opencascade.com>
Tue, 17 Apr 2018 13:48:30 +0000 (16:48 +0300)
src/SMESH_I/SMESH_PreMeshInfo.cxx

index c218129..38c1300 100644 (file)
@@ -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<SMDS_MeshNode*>( static_cast<const SMDS_MeshNode*>( elem ));
-              node->SetPosition( pos );
+              node->SetPosition( pos, sm->GetID() );
               sm->AddNode( node );
             } else {
               sm->AddElement( elem );