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(); }