From: eap Date: Mon, 5 May 2014 09:28:14 +0000 (+0400) Subject: in SetMeshOrder(), fix python dump in case of many groups of sub-meshes X-Git-Tag: V7_4_0rc1~10^2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b3661cda021fa8fd099411ede0752128f198ee3;p=modules%2Fsmesh.git in SetMeshOrder(), fix python dump in case of many groups of sub-meshes --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index b0c453b46..317725758 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -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