]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 c2181296c5aab928de37fd7ced292a0ee7d792e3..38c13009cc5bfc1dffbce082c3a746fedc897753 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 );