From: jfa Date: Mon, 25 Jul 2005 10:30:14 +0000 (+0000) Subject: IPAL9529: Preview of cutting plane still in 3D after Plot3D creation X-Git-Tag: V3_0_1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8577f57557fd4511b8da60d23d1685e374e04533;p=modules%2Fvisu.git IPAL9529: Preview of cutting plane still in 3D after Plot3D creation --- 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(); -//} } //=======================================================================