}
}
- //! Bind/Unbind status to object and object children
- //! \param theIObj object
- //! \param theStatus status, if NULL, unbind object
+ //! 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,
if (!myObjects.IsBound (theObject))
{
- Display (theObject, Standard_False);
+ return;
}
Handle(SelectMgr_EntityOwner) anOwner = theObject->GlobalSelOwner();
}
if (!myObjects.IsBound (anObject))
- Display (anObject, Standard_False);
+ return;
if (myAutoHilight)
{