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 b0c453b..3177257 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