From: ouv Date: Fri, 30 Aug 2013 15:39:43 +0000 (+0000) Subject: Call aViewPort->onBoundingRectChanged() is added at the end of HYDROGUI_Displayer... X-Git-Tag: BR_hydro_v_0_1~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6a2aeb463c15fe9479c620e8fd19f5a8985fe4c;p=modules%2Fhydro.git Call aViewPort->onBoundingRectChanged() is added at the end of HYDROGUI_Displayer::Display() method (HYDRO specific workaround, fixes many bugs with show/hide, fit all etc.) --- diff --git a/src/HYDROGUI/HYDROGUI_Displayer.cxx b/src/HYDROGUI/HYDROGUI_Displayer.cxx index e53d6bc7..d6fc5f61 100644 --- a/src/HYDROGUI/HYDROGUI_Displayer.cxx +++ b/src/HYDROGUI/HYDROGUI_Displayer.cxx @@ -194,6 +194,7 @@ void HYDROGUI_Displayer::Display( const HYDROData_SequenceOfObjects& theObjs, } } + aViewPort->onBoundingRectChanged(); // specific of HYDRO module aViewPort->fitAll(); }