Salome HOME
regression of SMESH_TEST/Grids/smesh/bugs/L9
authoreap <eap@opencascade.com>
Wed, 2 May 2012 14:07:39 +0000 (14:07 +0000)
committereap <eap@opencascade.com>
Wed, 2 May 2012 14:07:39 +0000 (14:07 +0000)
fix GetGroupSubMeshesContaining() to return all sub-meshes of groups
but not the last only

src/SMESH/SMESH_Mesh.cxx

index 8d73c851f7be11699d8ebe31964af8905fd4cea0..77e9c489aa42cee0f5f3a952543c251357b159d1 100644 (file)
@@ -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