From faf73e63924d2f697e7d968ac04b937d9dfdcd02 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 9 Jun 2008 10:43:09 +0000 Subject: [PATCH] Fix for [SALOME platform] VISU 0019878: EDF VISU : SIGSEGV with Cancelled Deformed Shape in 3D Cache System --- src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2