From 585751ddcb66d53b1fafb5630a2058e9c3454e24 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 May 2012 14:07:39 +0000 Subject: [PATCH] regression of SMESH_TEST/Grids/smesh/bugs/L9 fix GetGroupSubMeshesContaining() to return all sub-meshes of groups but not the last only --- src/SMESH/SMESH_Mesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 8d73c851f..77e9c489a 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -971,7 +971,7 @@ SMESH_Mesh::GetGroupSubMeshesContaining(const TopoDS_Shape & aSubShape) const if ( SMESH_MesherHelper::IsSubShape( aSubShape, i_sm->second->GetSubShape() )) { found.push_back( i_sm->second ); - break; + //break; } } else { break; // the rest sub-meshes are not those of groups -- 2.39.2