Salome HOME
in SetMeshOrder(), fix python dump in case of many groups of sub-meshes
[modules/smesh.git] / 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