1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030725: Visualization - remove Display calling from SetSelected methods of context

AIS_InteractiveContext::Load/ClearGlobal is modified for correct processing SetSelected for child objects.
As Display/Erase of object with children displays/erases these children, then the children status inside context should also be updated.
This commit is contained in:
nds
2019-06-06 16:40:52 +03:00
committed by bugmaster
parent 49582f9dbf
commit 13c556d9de
3 changed files with 39 additions and 7 deletions

View File

@@ -1364,6 +1364,14 @@ protected: //! @name internal methods
}
}
//! Bind/Unbind status to object and its children
//! @param theObj [in] the object to change status
//! @param theStatus status, if NULL, unbind object
Standard_EXPORT void setObjectStatus (const Handle(AIS_InteractiveObject)& theIObj,
const AIS_DisplayStatus theStatus,
const Standard_Integer theDispyMode,
const Standard_Integer theSelectionMode);
protected: //! @name internal fields
AIS_DataMapOfIOStatus myObjects;