From: nds Date: Fri, 10 Apr 2015 07:49:20 +0000 (+0300) Subject: Unconditionally redisplay of the update object. Test case is X-Git-Tag: V_1.1.0~51^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a254fa6104874f01036fd2d719d2c3d9a773ed5;p=modules%2Fshaper.git Unconditionally redisplay of the update object. Test case is create sketch, create a line, select a line, click 'Horizontal' constraint, the result is constraint is visualized but the line is not redisplayed. The reason is the mouse cursor is out of the viewer. --- diff --git a/src/XGUI/XGUI_Displayer.h b/src/XGUI/XGUI_Displayer.h index 6811bafdf..bd07090f4 100644 --- a/src/XGUI/XGUI_Displayer.h +++ b/src/XGUI/XGUI_Displayer.h @@ -225,13 +225,14 @@ signals: /// \return true if the object is succesfully displayed void display(ObjectPtr theObject, AISObjectPtr theAIS, bool isShading, bool isUpdateViewer = true); - +public: /** Redisplay the shape if it was displayed * \param theObject an object instance * \param isUpdateViewer the parameter whether the viewer should be update immediatelly */ void redisplay(ObjectPtr theObject, bool isUpdateViewer = true); +private: /// 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)