Salome HOME
Filtrage des types de fichiers dans la sélection
[modules/homard.git] / src / HOMARD_I / HOMARD_Boundary_i.cxx
index 3eec2c4cffc04b72641dfd191a407a42b042b27a..45a73a8b06cb34d4df97b4a9b063eae435f9450d 100644 (file)
@@ -137,7 +137,8 @@ void HOMARD_Boundary_i::SetMeshFile( const char* MeshFile )
 {
   ASSERT( myHomardBoundary );
   myHomardBoundary->SetMeshFile( MeshFile );
-  _gen_i->PublishResultInSmesh(MeshFile, 0);
+  int PublisMeshIN = _gen_i->GetPublisMeshIN () ;
+  if ( PublisMeshIN != 0 ) { _gen_i->PublishResultInSmesh(MeshFile, 0); }
 }
 //=============================================================================
 char* HOMARD_Boundary_i::GetMeshFile()