mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
ExportMEDCoupling is now safer
This commit is contained in:
parent
f3da1d7f0c
commit
12d2ca8ac7
@ -3785,8 +3785,8 @@ CORBA::LongLong SMESH_Mesh_i::ExportMEDCoupling(CORBA::Boolean auto_groups, CORB
|
||||
MEDCoupling::MCAuto<MEDCoupling::DataArrayByte> data;
|
||||
SMESH_TRY;
|
||||
// TODO : Fix me ! 2 next lines are required
|
||||
//if( !this->_gen_i->IsEmbeddedMode() )
|
||||
// SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
|
||||
if( !this->_gen_i->isSSLMode() )
|
||||
SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
|
||||
if ( _preMeshInfo )
|
||||
_preMeshInfo->FullLoadFromFile();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user