Salome HOME
This file is given from DESCARTES project
[modules/gui.git] / src / GLViewer / GLViewer_Selector2d.cxx
index 14d17722dfe901cd6f69308e3ca7f1ecfc813240..e8a414d464425ddd34b3a3d855d89de0d72babe2 100644 (file)
@@ -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 )