1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

Fixed mapping the given an interactive object and a corresponding status passed in the setObjectStatus method.

This commit is contained in:
mgn 2021-02-25 17:56:33 +03:00
parent 49c3828bcf
commit 3bd2f8ebbe

View File

@ -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