Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3da1d7
)
ExportMEDCoupling is now safer
author
Anthony Geay
<anthony.geay@edf.fr>
Fri, 11 Jun 2021 06:32:36 +0000
(08:32 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Fri, 11 Jun 2021 06:32:36 +0000
(08:32 +0200)
src/SMESH_I/SMESH_Mesh_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Mesh_i.cxx
b/src/SMESH_I/SMESH_Mesh_i.cxx
index 2fc681ef523f0e0e9d29c4fbe88f5d1c78b79b53..4e442a7a0daa8c473b1473dd8215f7aea4a34e41 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-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->IsEmbedded
Mode() )
-
//
SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
+
if( !this->_gen_i->isSSL
Mode() )
+ SMESH::throwCorbaException("SMESH_Mesh_i::ExportMEDCoupling : only for embedded mode !");
if ( _preMeshInfo )
_preMeshInfo->FullLoadFromFile();