]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Minor changes
authoreap <eap@opencascade.com>
Mon, 14 Aug 2017 09:51:08 +0000 (12:51 +0300)
committereap <eap@opencascade.com>
Mon, 14 Aug 2017 09:51:08 +0000 (12:51 +0300)
src/SMESH_I/SMESH_MeshPartDS.hxx
src/SMESH_I/SMESH_Mesh_i.cxx

index 423dfb0679fbdd79e0b4bc58af7c1d4ba7d27e4b..6d2c959ef06a60f0ef4142afb5a7e345373b991e 100644 (file)
@@ -27,6 +27,7 @@
 #define __SMESH_MeshPartDS_HXX__
 
 #include "SMESHDS_Mesh.hxx"
+#include "SMESH_TypeDefs.hxx"
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(SMESH_Mesh)
index 44195b8c8d748ec8c2061a04058112ae9a384466..dc12084e7aa5d3f7a42604c50a59876eddc49c5a 100644 (file)
@@ -6067,6 +6067,7 @@ SMESH_MeshPartDS::SMESH_MeshPartDS(SMESH::SMESH_IDSource_ptr meshPart):
   SMESH::SMESH_Mesh_var mesh = meshPart->GetMesh();
   SMESH_Mesh_i*       mesh_i = SMESH::DownCast<SMESH_Mesh_i*>( mesh );
 
+  mesh_i->Load();
   _meshDS = mesh_i->GetImpl().GetMeshDS();
 
   SetPersistentId( _meshDS->GetPersistentId() );