From 48d2b1fd90b53339648bdefb4a2a30c6dfc8a38b Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 31 Mar 2005 10:13:38 +0000 Subject: [PATCH] DumpPython Filter / Controls --- src/SMESH_I/SMESH_DumpPython.cxx | 1 - src/SMESH_I/SMESH_Filter_i.cxx | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 44483535f..7016fb3be 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -488,7 +488,6 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl aScript += "def RebuildData(theStudy):"; aScript += "\n\tsmesh = salome.lcc.FindOrLoadComponent(\"FactoryServer\", \"SMESH\")"; - aScript += "\n\taFilterManager = smesh.CreateFilterManager()"; if ( isPublished ) aScript += "\n\tsmesh.SetCurrentStudy(theStudy)"; else diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index 76b2e8e79..05d5f3848 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -1867,9 +1867,9 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria long aPrecision = theCriteria[ i ].Precision; TPythonDump()<<"aCriteria.append(SMESH.Filter.Criterion("<< - aCriterion<<","<