Code improvement to apply an activation for one object. It avoids the code duplication in activateObjects() and activate()[currently commented]
*/
void redisplay(ObjectPtr theObject, bool isUpdateViewer = true);
+ /// Activates the interactive object in the local context.
+ /// \param theIO an interactive object
+ /// \param theModes - modes on which it has to be activated (can be empty)
+ void activate(const Handle(AIS_InteractiveObject)& theIO, const QIntList& theModes) const;
+
/// Opens local context. Does nothing if it is already opened.
void openLocalContext();