mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0025436: Visualization - AIS_InteractiveContext::HilightPreviousDetected() should switch from first value in the list to the last
This commit is contained in:
@@ -1455,9 +1455,10 @@ Standard_Integer AIS_LocalContext::HilightPreviousDetected (const Handle(V3d_Vie
|
||||
return 0;
|
||||
}
|
||||
|
||||
const Standard_Integer aLen = myDetectedSeq.Length();
|
||||
if (--myCurDetected < 1)
|
||||
{
|
||||
myCurDetected = 1;
|
||||
myCurDetected = aLen;
|
||||
}
|
||||
Handle(SelectMgr_EntityOwner) anOwner = myMainVS->Picked (myDetectedSeq (myCurDetected));
|
||||
if (anOwner.IsNull())
|
||||
|
Reference in New Issue
Block a user