From: eap Date: Wed, 2 May 2012 14:07:39 +0000 (+0000) Subject: regression of SMESH_TEST/Grids/smesh/bugs/L9 X-Git-Tag: V6_5_0b1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=585751ddcb66d53b1fafb5630a2058e9c3454e24 regression of SMESH_TEST/Grids/smesh/bugs/L9 fix GetGroupSubMeshesContaining() to return all sub-meshes of groups but not the last only --- 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