Salome HOME
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
authoreap <eap@opencascade.com>
Fri, 11 Mar 2011 10:55:32 +0000 (10:55 +0000)
committereap <eap@opencascade.com>
Fri, 11 Mar 2011 10:55:32 +0000 (10:55 +0000)
   fix python dump of MakeBoundaryElements()

src/SMESH_I/SMESH_MeshEditor_i.cxx

index 0a4b278bc253b316c84a21727c4b56f1fd4ec883..690f46831b057a3d0622ede0d768ca41f973a2da 100644 (file)
@@ -5714,7 +5714,7 @@ CORBA::Long SMESH_MeshEditor_i::MakeBoundaryElements(SMESH::Bnd_Dimension dim,
   const char* dimName[] = { "BND_2DFROM3D", "BND_1DFROM3D", "BND_1DFROM2D" };
 
   // result of MakeBoundaryElements() is a tuple (nb, mesh, group)
-  pyDump << nbAdded << ", ";
+  pyDump << "nbAdded, ";
   if ( mesh_var->_is_nil() )
     pyDump << myMesh_i->_this() << ", ";
   else