From 3bd2f8ebbeaf59c306aad8af6afc827d0ff1106e Mon Sep 17 00:00:00 2001 From: mgn Date: Thu, 25 Feb 2021 17:56:33 +0300 Subject: [PATCH] Fixed mapping the given an interactive object and a corresponding status passed in the setObjectStatus method. --- src/AIS/AIS_InteractiveContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIS/AIS_InteractiveContext.cxx b/src/AIS/AIS_InteractiveContext.cxx index fe54d23a4e..225004aca4 100644 --- a/src/AIS/AIS_InteractiveContext.cxx +++ b/src/AIS/AIS_InteractiveContext.cxx @@ -2440,7 +2440,7 @@ void AIS_InteractiveContext::setObjectStatus (const Handle(AIS_InteractiveObject { if (theStatus != AIS_DS_None) { - Handle(AIS_GlobalStatus) aStatus = new AIS_GlobalStatus (AIS_DS_Displayed, theDispMode, theSelectionMode); + Handle(AIS_GlobalStatus) aStatus = new AIS_GlobalStatus (theStatus, theDispMode, theSelectionMode); myObjects.Bind (theIObj, aStatus); } else -- 2.39.5