From: apo Date: Wed, 30 Mar 2005 12:52:17 +0000 (+0000) Subject: PythonDump for SMESH Controls / Filter X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=64966917fbf99f0c3fbd6b4b01e6ca65c21b10b4;p=modules%2Fsmesh.git PythonDump for SMESH Controls / Filter --- diff --git a/src/SMESHGUI/SMESHGUI_FilterUtils.cxx b/src/SMESHGUI/SMESHGUI_FilterUtils.cxx index 4b0ae92de..dc5e4726d 100644 --- a/src/SMESHGUI/SMESHGUI_FilterUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterUtils.cxx @@ -27,11 +27,12 @@ namespace SMESH SMESH::FilterManager_var GetFilterManager() { - static SMESH::FilterManager_var aFilterManager; - if(CORBA::is_nil(aFilterManager)){ - aFilterManager = GetSMESHGen()->CreateFilterManager(); - } - return aFilterManager; + return GetSMESHGen()->CreateFilterManager(); // DumpPython + //static SMESH::FilterManager_var aFilterManager; + //if(CORBA::is_nil(aFilterManager)){ + // aFilterManager = GetSMESHGen()->CreateFilterManager(); + //} + //return aFilterManager; } } diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index d689fa6ff..b376956f8 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -1868,7 +1868,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria TPythonDump()<