From: ouv Date: Fri, 13 Aug 2010 08:20:18 +0000 (+0000) Subject: Minor fix for selection/pulling mechanism X-Git-Tag: DIAGRAM_0_1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df346f8597157d8100735d5d777a3f812dd75713;p=modules%2Fgui.git Minor fix for selection/pulling mechanism --- 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; }