]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor fix for selection/pulling mechanism
authorouv <ouv@opencascade.com>
Fri, 13 Aug 2010 08:20:18 +0000 (08:20 +0000)
committerouv <ouv@opencascade.com>
Fri, 13 Aug 2010 08:20:18 +0000 (08:20 +0000)
src/GLViewer/GLViewer_ViewPort2d.cxx

index aed83fe4a8aa8de55155c8125ed962334e7467b9..47cc94fa75f825485c49912d2776465ed4af1fa1 100644 (file)
@@ -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;
 }