Salome HOME
in SetMeshOrder(), fix python dump in case of many groups of sub-meshes
authoreap <eap@opencascade.com>
Mon, 5 May 2014 09:28:14 +0000 (13:28 +0400)
committereap <eap@opencascade.com>
Mon, 5 May 2014 09:28:14 +0000 (13:28 +0400)
src/SMESH_I/SMESH_Mesh_i.cxx

index b0c453b462763636c52da5d6daa3d1f9fce970d2..3177257588f320f02b9b3692ead6e8e7d2e90f26 100644 (file)
@@ -5723,6 +5723,8 @@ TListOfListOfInt SMESH_Mesh_i::findConcurrentSubMeshes()
   {
     const SMESH::submesh_array& aSMArray = theSubMeshArray[i];
     TListOfInt subMeshIds;
+    if ( i > 0 )
+      aPythonDump << ", ";
     aPythonDump << "[ ";
     // Collect subMeshes which should be clear
     //  do it list-by-list, because modification of submesh order