From e9dbe80172ac1782ad95c4b7452ea3c67da3bd09 Mon Sep 17 00:00:00 2001 From: vro Date: Thu, 15 Aug 2019 07:57:23 +0300 Subject: [PATCH] // A minor improvement: display status is not needed, the check on presence of the object in the interactive context is enough. --- src/AIS/AIS_InteractiveContext_1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIS/AIS_InteractiveContext_1.cxx b/src/AIS/AIS_InteractiveContext_1.cxx index c49b2108a9..c52cae9de8 100644 --- a/src/AIS/AIS_InteractiveContext_1.cxx +++ b/src/AIS/AIS_InteractiveContext_1.cxx @@ -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); } -- 2.39.5