From 207073baeadb4e5cd663e2614c71ac90853f5015 Mon Sep 17 00:00:00 2001 From: abn Date: Fri, 12 Sep 2014 14:25:59 +0200 Subject: [PATCH] Getting rid of vtkEDFCutter. --- src/PVGUI/PVGUI_Module.cxx | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index 8233ef9b..ecb3715e 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -242,25 +242,6 @@ PVGUI_Module* ParavisModule = 0; SALOME module wrapping ParaView GUI. */ - -/* - Fix for the issue 21730: [CEA 596] Slice of polyhedron in PARAVIS returns no cell. - Wrap vtkEDFCutter filter. -*/ - -extern "C" void vtkEDFCutterCS_Initialize(vtkClientServerInterpreter*); -static void vtkEDFHelperInit(); - -void vtkEDFHelperInit(vtkClientServerInterpreter* interp){ - vtkEDFCutterCS_Initialize(interp); -} - -void vtkEDFHelperInit() { - vtkClientServerInterpreterInitializer::GetInitializer()-> - RegisterCallback(&vtkEDFHelperInit); -} - - _PTR(SComponent) ClientFindOrCreateParavisComponent(_PTR(Study) theStudyDocument) { @@ -1690,10 +1671,10 @@ extern "C" { bool flag = false; PVGUI_EXPORT CAM_Module* createModule() { - if(!flag) { - vtkEDFHelperInit(); - flag = true; - } +// if(!flag) { +// vtkEDFHelperInit(); +// flag = true; +// } return new PVGUI_Module(); } -- 2.39.2