From 39f381ae47526234268bbf6c47925e6219835db4 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 10 May 2011 10:46:47 +0000 Subject: [PATCH] Bug IPAL22475: TC6.3.0: Cut planes preview ? viewer is not updated --- src/VISUGUI/VisuGUI_CutPlanesDlg.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx index f6e688cf..457d2284 100644 --- a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx @@ -749,9 +749,10 @@ void VisuGUI_CutPlanesPane::onPreviewCheck (bool thePreview) storeToPrsObject(myCutPlanes); myCutPlanes->GetPipeLine()->Update(); createPlanes(); - if(VISU::GetResourceMgr()->booleanValue("VISU","automatic_fit_all",false)) { - vf->onFitAll(); - } + if(VISU::GetResourceMgr()->booleanValue("VISU","automatic_fit_all",false)) + vf->onFitAll(); // Repaint() is called inside + else + vf->Repaint(); } else { deletePlanes(); vf->Repaint(); -- 2.39.2