Salome HOME
Fix pb with Animation
[modules/visu.git] / src / VISUGUI / VisuGUI_Plot3DDlg.cxx
index fe7671e2e00513200e1672b353dc4f81f6e6c57e..78cbcec2aa5c7dc520dcb2237d571878d869bf47 100644 (file)
@@ -562,13 +562,5 @@ void VisuGUI_Plot3DDlg::reject()
 {
   myIsoPane->check(); // hide preview
 
-/*if (!isModal() && myIsoPane->GetPrs() &&
-      !VISU::GetActor(myIsoPane->GetPrs(), myViewWindow)) {
-    _PTR(Study) aStudy = VISU::GetCStudy(VISU::GetAppStudy(myModule));
-    if (!aStudy->GetProperties()->IsLocked()) {
-      myIsoPane->GetPrs()->RemoveFromStudy();
-      myIsoPane->GetStudyFrame()->getStudy()->updateObjBrowser();
-    }
-}*/
   QDialog::reject();
 }