From: apo Date: Thu, 31 Mar 2005 10:13:38 +0000 (+0000) Subject: DumpPython Filter / Controls X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=48d2b1fd90b53339648bdefb4a2a30c6dfc8a38b;p=modules%2Fsmesh.git DumpPython Filter / Controls --- 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<<","<