]> OCCT Git - occt-copy.git/commitdiff
// A minor improvement: display status is not needed, the check on presence of the... CR0_DMUReviewer_2_1140
authorvro <vro@opencascade.com>
Thu, 15 Aug 2019 04:57:23 +0000 (07:57 +0300)
committervro <vro@opencascade.com>
Thu, 15 Aug 2019 04:57:23 +0000 (07:57 +0300)
src/AIS/AIS_InteractiveContext_1.cxx

index c49b2108a9d89ec6b080f67198bbc293899b3e13..c52cae9de837a23daa4bbfba19d22e1791402c98 100644 (file)
@@ -475,7 +475,7 @@ AIS_StatusOfPick AIS_InteractiveContext::Select (const AIS_SelectionScheme theSe
   {
     Handle(AIS_InteractiveObject) anIO = Handle(AIS_InteractiveObject)::DownCast(myLastinMain->Selectable());
     if (!anIO.IsNull() &&
-        IsDisplayed(anIO))
+        myObjects.IsBound(anIO))
     {
       aPickedOwners.Append (myLastinMain);
     }