Salome HOME
Correction. T3_0_0_a4 V3_0_0
authormzn <mzn@opencascade.com>
Mon, 27 Jun 2005 11:41:01 +0000 (11:41 +0000)
committermzn <mzn@opencascade.com>
Mon, 27 Jun 2005 11:41:01 +0000 (11:41 +0000)
src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
src/SMESHGUI/SMESHGUI_VTKUtils.cxx

index c9a559b..bb36d5c 100644 (file)
@@ -644,6 +644,7 @@ void SMESHGUI_AddMeshElementDlg::displaySimulation()
     }
 
     mySimulation->SetPosition(myActor,aType,anIds);
+    SMESH::UpdateView();
   }
 }
 
index cc4ccdc..d2a5689 100644 (file)
@@ -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)