X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationOp.cxx;h=377e821bd26123f93e0aed521f49c743bc0f86ac;hb=f34b90e9e4e02ba65419134d5d37a2e42aecfabf;hp=9ebcae43c9d47725d0ba35ac81e05eef135e21cc;hpb=13699bfe68e78d61c7174247d7219c3383b5d5c1;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx index 9ebcae43..377e821b 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx @@ -505,7 +505,7 @@ bool HYDROGUI_CalculationOp::processApply( int& theUpdateFlags, if ( !aPanel ) return false; - theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced; + theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer | UF_VTK_Forced | UF_VTK_Init; return true; } @@ -715,7 +715,7 @@ void HYDROGUI_CalculationOp::createPreview() } //Process the draw events for viewer - QApplication::processEvents(); + QApplication::processEvents( QEventLoop::ExcludeUserInputEvents ); if ( OCCViewer_ViewWindow* vw = (OCCViewer_ViewWindow*)myPreviewViewManager->getActiveView() ) vw->onTopView(); }