From: mzn Date: Mon, 27 Jun 2005 11:41:01 +0000 (+0000) Subject: Correction. X-Git-Tag: T3_0_0_a4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=576824da0480ebd29facad6ee8dec98961fc7b1c;p=modules%2Fsmesh.git Correction. --- diff --git a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx index c9a559b38..bb36d5c03 100644 --- a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx @@ -644,6 +644,7 @@ void SMESHGUI_AddMeshElementDlg::displaySimulation() } mySimulation->SetPosition(myActor,aType,anIds); + SMESH::UpdateView(); } } diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index cc4ccdcaf..d2a5689d3 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -303,8 +303,10 @@ namespace SMESH{ void RepaintCurrentView(){ if(SVTK_ViewWindow* wnd = GetCurrentVtkView() ) - wnd->getRenderer()->Render(); - //wnd->Repaint(); + { + wnd->getRenderer()->Render(); + wnd->Repaint(false); + } } void UpdateView(SUIT_ViewWindow *theWnd, EDisplaing theAction, const char* theEntry)