]> OCCT Git - occt-copy.git/commitdiff
0030725: Visualization - remove Display calling from SetSelected methods of context
authornds <nds@opencascade.com>
Wed, 22 May 2019 08:37:03 +0000 (11:37 +0300)
committernds <nds@opencascade.com>
Sat, 1 Jun 2019 17:17:25 +0000 (20:17 +0300)
(cherry picked from commit 3356a2f1fcde55717e3e8a4a59059ee0accb6ba7)
(cherry picked from commit 86fb569627e1d89f8cfd991bd4dcb39235fad9f6)
(cherry picked from commit 96923ab6908271ca033efda12ca529dd9b1aa0a0)

src/AIS/AIS_InteractiveContext_1.cxx

index 3374d0ef3222680d60e188e3999442cd0193a641..0c0a296e07ae18638124df0b5bb094e5c504925d 100644 (file)
@@ -818,7 +818,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(AIS_InteractiveObject)& t
 
   if (!myObjects.IsBound (theObject))
   {
-    Display (theObject, Standard_False);
+    return;
   }
 
   Handle(SelectMgr_EntityOwner) anOwner = theObject->GlobalSelOwner();
@@ -910,7 +910,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(SelectMgr_EntityOwner)& t
   }
 
   if (!myObjects.IsBound (anObject))
-    Display (anObject, Standard_False);
+    return;
 
   if (myAutoHilight)
   {