From 46710942dbe26ad34d5132db552dc1bd4387d507 Mon Sep 17 00:00:00 2001 From: kgv Date: Tue, 2 May 2017 10:22:59 +0300 Subject: [PATCH] 0028664: Documentation of Graphic3d_CView::Activate and Deactivate does not seem to be correct --- src/Graphic3d/Graphic3d_CView.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Graphic3d/Graphic3d_CView.hxx b/src/Graphic3d/Graphic3d_CView.hxx index 95ac5bd957..3856bf9f20 100644 --- a/src/Graphic3d/Graphic3d_CView.hxx +++ b/src/Graphic3d/Graphic3d_CView.hxx @@ -70,12 +70,11 @@ public: //! Returns the identification number of the view. Standard_Integer Identification() const { return myId; } - //! Activates the view. Map the associated window on the screen and post the view in this window. - //! Warning: Raises ViewDefinitionError if the associated window isn't defined. + //! Activates the view. Maps presentations defined within structure manager onto this view. Standard_EXPORT virtual void Activate(); - //! Deactivates the view. Unmap the associated window on the screen and unpost the view in this window. - //! Warning: Raises ViewDefinitionError if the associated window isn't defined. + //! Deactivates the view. Unmaps presentations defined within structure manager. + //! The view in deactivated state will ignore actions on structures such as Display(). Standard_EXPORT virtual void Deactivate(); //! Returns the activity flag of the view.