regression of SMESH_TEST/Grids/smesh/bugs/L9

fix GetGroupSubMeshesContaining() to return all sub-meshes of groups
but not the last only
This commit is contained in:
eap 2012-05-02 14:07:39 +00:00
parent 7f69b1fe3e
commit 585751ddcb

View 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