]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
DumpPython Filter / Controls
authorapo <apo@opencascade.com>
Thu, 31 Mar 2005 10:24:06 +0000 (10:24 +0000)
committerapo <apo@opencascade.com>
Thu, 31 Mar 2005 10:24:06 +0000 (10:24 +0000)
src/SMESH_I/SMESH_DumpPython.cxx
src/SMESH_I/SMESH_Filter_i.cxx

index 7016fb3bedfa14c2eb425b308abe3501f5897a5d..44483535fb25a2978db03b2f9d1d41b7d7698179 100644 (file)
@@ -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
index cdb040018c738996f2499598c5cff939e84158da..05d5f38482a1137aeee5e536db301aca76912719 100644 (file)
@@ -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();
 }