X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGLViewer%2FGLViewer_Selector2d.cxx;h=e8a414d464425ddd34b3a3d855d89de0d72babe2;hb=28124bc2dd22481a5a915b2b96b835ef5323a6f6;hp=14d17722dfe901cd6f69308e3ca7f1ecfc813240;hpb=65ddf6116a972283782ddf0e4d80ac4a1027c855;p=modules%2Fgui.git diff --git a/src/GLViewer/GLViewer_Selector2d.cxx b/src/GLViewer/GLViewer_Selector2d.cxx index 14d17722d..e8a414d46 100644 --- a/src/GLViewer/GLViewer_Selector2d.cxx +++ b/src/GLViewer/GLViewer_Selector2d.cxx @@ -1,7 +1,26 @@ +// Copyright (C) 2005 OPEN CASCADE +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// Author : OPEN CASCADE +// + // File: GLViewer_Selector2d.cxx // Created: November, 2004 -// Author: OCC team -// Copyright (C) CEA 2004 /**************************************************************************** ** Class: GLViewer_Selector2d @@ -62,7 +81,7 @@ void GLViewer_Selector2d::undetectAll() if( !vp->inherits( "GLViewer_ViewPort2d" ) ) return; - myGLContext->clearHighlighted(); + myGLContext->clearHighlighted( true ); } void GLViewer_Selector2d::select( bool append )