mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
Fixed mapping the given an interactive object and a corresponding status passed in the setObjectStatus method.
This commit is contained in:
parent
49c3828bcf
commit
3bd2f8ebbe
@ -2440,7 +2440,7 @@ void AIS_InteractiveContext::setObjectStatus (const Handle(AIS_InteractiveObject
|
|||||||
{
|
{
|
||||||
if (theStatus != AIS_DS_None)
|
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);
|
myObjects.Bind (theIObj, aStatus);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user