Correction.

This commit is contained in:
mzn 2005-06-27 11:41:01 +00:00
parent 9a358116f4
commit 576824da04
2 changed files with 5 additions and 2 deletions

View File

@ -644,6 +644,7 @@ void SMESHGUI_AddMeshElementDlg::displaySimulation()
} }
mySimulation->SetPosition(myActor,aType,anIds); mySimulation->SetPosition(myActor,aType,anIds);
SMESH::UpdateView();
} }
} }

View File

@ -303,8 +303,10 @@ namespace SMESH{
void RepaintCurrentView(){ void RepaintCurrentView(){
if(SVTK_ViewWindow* wnd = GetCurrentVtkView() ) 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)