From df346f8597157d8100735d5d777a3f812dd75713 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 13 Aug 2010 08:20:18 +0000 Subject: [PATCH] Minor fix for selection/pulling mechanism --- src/GLViewer/GLViewer_ViewPort2d.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GLViewer/GLViewer_ViewPort2d.cxx b/src/GLViewer/GLViewer_ViewPort2d.cxx index aed83fe4a..47cc94fa7 100644 --- a/src/GLViewer/GLViewer_ViewPort2d.cxx +++ b/src/GLViewer/GLViewer_ViewPort2d.cxx @@ -1161,6 +1161,9 @@ BlockStatus GLViewer_ViewPort2d::currentBlock() if( mypFirstPoint && mypLastPoint && ( *mypFirstPoint != *mypLastPoint ) ) return BlockStatus(BS_Highlighting | BS_Selection); + if( isPulling() ) + return BlockStatus(BS_Highlighting | BS_Selection); + return BS_NoBlock; } -- 2.39.2