From: rnv Date: Mon, 9 Jun 2008 10:43:09 +0000 (+0000) Subject: Fix for [SALOME platform] VISU 0019878: EDF VISU : SIGSEGV with Cancelled Deformed... X-Git-Tag: V4_1_0_maintainance_20080610 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=faf73e63924d2f697e7d968ac04b937d9dfdcd02;p=modules%2Fvisu.git Fix for [SALOME platform] VISU 0019878: EDF VISU : SIGSEGV with Cancelled Deformed Shape in 3D Cache System --- diff --git a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx index 5eabec8f..5db7ab0d 100644 --- a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx +++ b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx @@ -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();