From 576824da0480ebd29facad6ee8dec98961fc7b1c Mon Sep 17 00:00:00 2001 From: mzn Date: Mon, 27 Jun 2005 11:41:01 +0000 Subject: [PATCH] Correction. --- src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx | 1 + src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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) -- 2.39.2