mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 17:50:33 +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;
|
MEDCoupling::MCAuto<MEDCoupling::DataArrayByte> data;
|
||||||
SMESH_TRY;
|
SMESH_TRY;
|
||||||
// TODO : Fix me ! 2 next lines are required
|
// TODO : Fix me ! 2 next lines are required
|
||||||
//if( !this->_gen_i->IsEmbeddedMode() )
|
if( !this->_gen_i->isSSLMode() )
|
||||||
// SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
|
SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
|
||||||
if ( _preMeshInfo )
|
if ( _preMeshInfo )
|
||||||
_preMeshInfo->FullLoadFromFile();
|
_preMeshInfo->FullLoadFromFile();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user