]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
IPAL9529: Preview of cutting plane still in 3D after Plot3D creation
authorjfa <jfa@opencascade.com>
Mon, 25 Jul 2005 10:30:14 +0000 (10:30 +0000)
committerjfa <jfa@opencascade.com>
Mon, 25 Jul 2005 10:30:14 +0000 (10:30 +0000)
src/VISUGUI/VisuGUI_Plot3DDlg.cxx

index 54aa2650ad48ea295e44cee7c23bf6a71e796e4f..fe7671e2e00513200e1672b353dc4f81f6e6c57e 100644 (file)
@@ -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();
-//}
 }
 
 //=======================================================================