From 64966917fbf99f0c3fbd6b4b01e6ca65c21b10b4 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 30 Mar 2005 12:52:17 +0000 Subject: [PATCH] PythonDump for SMESH Controls / Filter --- src/SMESHGUI/SMESHGUI_FilterUtils.cxx | 11 ++++++----- src/SMESH_I/SMESH_Filter_i.cxx | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) 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()<