From: apo Date: Thu, 31 Mar 2005 10:24:06 +0000 (+0000) Subject: DumpPython Filter / Controls X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c243d4eb637d6dfa81bf067df5ce0ed3e1dd1775;p=modules%2Fsmesh.git DumpPython Filter / Controls --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 7016fb3be..44483535f 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -488,6 +488,7 @@ 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 cdb040018..05d5f3848 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -1554,7 +1554,6 @@ SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager() { SMESH::FilterManager_i* aFilter = new SMESH::FilterManager_i(); SMESH::FilterManager_var anObj = aFilter->_this(); - TPythonDump()<<"aFilterManager = smesh.CreateFilterManager()"; return anObj._retn(); }