X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_DumpPython.cxx;h=2314da3c1a7cd265e9d08e616d2cdb3c980c04a5;hb=708660afc3a1f9143b0c184ab25807ff9c1ccd2a;hp=5840f0ab2f6db3d92673331077a52a25a324243f;hpb=9be03d1b02b759f4c63ca277238b323cfef0136a;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 5840f0ab2..2314da3c1 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -881,15 +881,16 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl aScript += helper + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()\n\t"; aScript += helper + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()\n\t"; + // This is not needed since entering a plug-in system to smesh.py // import python files corresponding to plugins - set moduleNameSet; - map::iterator hyp_creator = myHypCreatorMap.begin(); - for ( ; hyp_creator != myHypCreatorMap.end(); ++hyp_creator ) { - string moduleName = hyp_creator->second->GetModuleName(); - bool newModule = moduleNameSet.insert( moduleName ).second; - if ( newModule ) - aScript += helper + "\n\t" + "from salome." + (char*) moduleName.c_str() + " import " + (char*) moduleName.c_str() +"Builder"; - } + // set moduleNameSet; + // map::iterator hyp_creator = myHypCreatorMap.begin(); + // for ( ; hyp_creator != myHypCreatorMap.end(); ++hyp_creator ) { + // string moduleName = hyp_creator->second->GetModuleName(); + // bool newModule = moduleNameSet.insert( moduleName ).second; + // if ( newModule ) + // aScript += helper + "\n\t" + "from salome." + (char*) moduleName.c_str() + " import " + (char*) moduleName.c_str() +"Builder"; + // } // Dump trace of restored study if (theSavedTrace.Length() > 0) {