From 63a66cc8e9e8ba4ea6f15e9d69bdb025bc3aaf7c Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 20 Jul 2010 13:56:59 +0000 Subject: [PATCH] Fix of bug with incorrect selection after double-click in the viewer --- src/GLViewer/GLViewer_ViewPort2d.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GLViewer/GLViewer_ViewPort2d.cxx b/src/GLViewer/GLViewer_ViewPort2d.cxx index d8c70913c..9710a4a2d 100644 --- a/src/GLViewer/GLViewer_ViewPort2d.cxx +++ b/src/GLViewer/GLViewer_ViewPort2d.cxx @@ -442,8 +442,12 @@ void GLViewer_ViewPort2d::mouseReleaseEvent( QMouseEvent* e ) */ void GLViewer_ViewPort2d::mouseDoubleClickEvent( QMouseEvent * e ) { + // OUV: this fix (PTV, 2005-08-01, revision 1.3) seems to be + // non-actual for the current version - therefore disabled + /* //redefined to block mouse release after mouse double click myIsMouseReleaseBlock = true; + */ // invoke base implementation GLViewer_ViewPort::mouseDoubleClickEvent( e ); } -- 2.39.2