From: abn Date: Fri, 12 Sep 2014 12:25:59 +0000 (+0200) Subject: Getting rid of vtkEDFCutter. X-Git-Tag: V7_5_0a1~1^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=207073baeadb4e5cd663e2614c71ac90853f5015;p=modules%2Fparavis.git Getting rid of vtkEDFCutter. --- 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(); }