From 0b3661cda021fa8fd099411ede0752128f198ee3 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 5 May 2014 13:28:14 +0400 Subject: [PATCH] in SetMeshOrder(), fix python dump in case of many groups of sub-meshes --- src/SMESH_I/SMESH_Mesh_i.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2