]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Issue 0021249: EDF STUDY: Python dump in a single file
authorouv <ouv@opencascade.com>
Mon, 25 Apr 2011 08:36:25 +0000 (08:36 +0000)
committerouv <ouv@opencascade.com>
Mon, 25 Apr 2011 08:36:25 +0000 (08:36 +0000)
src/SMESH_I/SMESH_DumpPython.cxx

index 9832e61f17e88cdfed630031248b135aa0b5b517..df860175d993afdbd6371ce28e4d01f592260f20 100644 (file)
@@ -942,8 +942,10 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
       anUpdatedScript += helper + ", '" + aGUIName + "')";
     }
   }
-  anUpdatedScript += "\n\tif salome.sg.hasDesktop():";
-  anUpdatedScript += "\n\t\tsalome.sg.updateObjBrowser(0)";
+
+  // Issue 0021249: removed (a similar block is dumped by SALOMEDSImpl_Study)
+  //anUpdatedScript += "\n\tif salome.sg.hasDesktop():";
+  //anUpdatedScript += "\n\t\tsalome.sg.updateObjBrowser(0)";
 
   // -----------------------------------------------------------------
   // store visual properties of displayed objects