Salome HOME
Issue 0021249: EDF STUDY: Python dump in a single file
[modules/smesh.git] / 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