From: ouv Date: Mon, 25 Apr 2011 08:36:25 +0000 (+0000) Subject: Issue 0021249: EDF STUDY: Python dump in a single file X-Git-Tag: V6_3_0b1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9463491e247d8235ec564300569d13fbd4d6cb4f;p=modules%2Fsmesh.git Issue 0021249: EDF STUDY: Python dump in a single file --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 9832e61f1..df860175d 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -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