]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for [SALOME platform] VISU 0019878: EDF VISU : SIGSEGV with Cancelled Deformed... BR_PERF V4_1_0_maintainance_20080610 V4_1_3 V4_1_3rc2
authorrnv <rnv@opencascade.com>
Mon, 9 Jun 2008 10:43:09 +0000 (10:43 +0000)
committerrnv <rnv@opencascade.com>
Mon, 9 Jun 2008 10:43:09 +0000 (10:43 +0000)
src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx

index 5eabec8faa37d152b7664d0f54956d007881b8e4..5db7ab0dfeefcdfdafc5fcc9c76462dfff406991 100644 (file)
@@ -273,7 +273,7 @@ void VisuGUI_DeformedShapeDlg::CreatePrs3d(VisuGUI* theModule)
          int dlgResult = r.run( false );
 
          if ( dlgResult == 0 )
-           aPrs3d->RemoveFromStudy();
+            DeletePrs3d(theModule,aPrs3d);
          else {
            aDlg->storeToPrsObject( aPrs3d );
            SVTK_ViewWindow* aViewWindow = VISU::GetActiveViewWindow<SVTK_ViewWindow>();