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:
8944375
)
Fix dump of ExportGMF() and ExportCGNS()
author
eap
<eap@opencascade.com>
Mon, 15 Oct 2012 14:35:51 +0000
(14:35 +0000)
committer
eap
<eap@opencascade.com>
Mon, 15 Oct 2012 14:35:51 +0000
(14:35 +0000)
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 3bcdb181ca7898578e1983fe74f1630f9bbd912d..721476f831d6885c5f88a1913dd897958c9966d9 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-3025,8
+3025,8
@@
void SMESH_Mesh_i::ExportCGNS(::SMESH::SMESH_IDSource_ptr meshPart,
SMESH_MeshPartDS partDS( meshPart );
_impl->ExportCGNS(file, &partDS);
SMESH_MeshPartDS partDS( meshPart );
_impl->ExportCGNS(file, &partDS);
- TPythonDump() << _this() << ".ExportCGNS(
r'
"
- <<
file << "', " << overwrite << ", "<< meshPart
<< ")";
+ TPythonDump() << _this() << ".ExportCGNS( "
+ <<
meshPart<< ", r'" << file << "', " << overwrite
<< ")";
#else
THROW_SALOME_CORBA_EXCEPTION("CGNS library is unavailable", SALOME::INTERNAL_ERROR);
#endif
#else
THROW_SALOME_CORBA_EXCEPTION("CGNS library is unavailable", SALOME::INTERNAL_ERROR);
#endif
@@
-3051,8
+3051,7
@@
void SMESH_Mesh_i::ExportGMF(::SMESH::SMESH_IDSource_ptr meshPart,
SMESH_MeshPartDS partDS( meshPart );
_impl->ExportGMF(file, &partDS);
SMESH_MeshPartDS partDS( meshPart );
_impl->ExportGMF(file, &partDS);
- TPythonDump() << _this() << ".ExportGMF( r'"
- << file << "', "<< meshPart<< ")";
+ TPythonDump() << _this() << ".ExportGMF( " << meshPart<< ", r'" << file << "')";
}
//=============================================================================
}
//=============================================================================
@@
-5051,3
+5050,5
@@
_GET_ITER_DEFINE( SMDS_VolumeIteratorPtr, volumesIterator, SMDS_MeshVolume, SMDS
// END Implementation of SMESH_MeshPartDS
//
//================================================================================
// END Implementation of SMESH_MeshPartDS
//
//================================================================================
+
+