From 8577f57557fd4511b8da60d23d1685e374e04533 Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 25 Jul 2005 10:30:14 +0000 Subject: [PATCH] IPAL9529: Preview of cutting plane still in 3D after Plot3D creation --- src/VISUGUI/VisuGUI_Plot3DDlg.cxx | 32 +------------------------------ 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx index 54aa2650..fe7671e2 100644 --- a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx +++ b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx @@ -550,38 +550,8 @@ VisuGUI_Plot3DDlg::VisuGUI_Plot3DDlg (SalomeApp_Module* theModule) //======================================================================= void VisuGUI_Plot3DDlg::accept() { -/*if (!VISU::CheckActiveStudyLock()) { - return; - } - if (myIsoPane->check() && myScalarPane->check()) { - if (!isModal()) { - VISU::Plot3D_i* prs = myIsoPane->GetPrs(); - bool isCreation = !VISU::GetActor(prs, myViewWindow); - if (storeToPrsObject(prs)) { - if (isCreation) { // creation - if (myViewWindow) { - try { - VISU::CreateActor(prs); - } - catch (...) { - reject(); - return; - } - myViewWindow->onFitAll(); - } - } else { // edition - VISU::RecreateActor(prs); - renderViewFrame(myViewWindow); - } - } else { - if (isCreation) { - prs->RemoveFromStudy(); - //study->updateObjBrowser(); - } - } -}*/ + if (myIsoPane->check() && myScalarPane->check()) QDialog::accept(); -//} } //======================================================================= -- 2.39.2