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 c9a559b388060bec0d348a076d4e08c33522bf2c..bb36d5c0386560a69a3367ccfa2ef27d95267e36 100644 (file)
@@ -644,6 +644,7 @@ void SMESHGUI_AddMeshElementDlg::displaySimulation()
     }
 
     mySimulation->SetPosition(myActor,aType,anIds);
     }
 
     mySimulation->SetPosition(myActor,aType,anIds);
+    SMESH::UpdateView();
   }
 }
 
   }
 }
 
index cc4ccdcaf8d1fa241e6d7d3d6494374d5373bfa5..d2a5689d39a0ab9628d2b7f8e785b8c41a14cb30 100644 (file)
@@ -303,8 +303,10 @@ namespace SMESH{
 
   void RepaintCurrentView(){
     if(SVTK_ViewWindow* wnd = GetCurrentVtkView() )
 
   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)
   }
 
   void UpdateView(SUIT_ViewWindow *theWnd, EDisplaing theAction, const char* theEntry)