- Prepare for migration to swig 3: pass explicitly True as boolean parameter for updateObjBrowser() function.
# ---- update object browser
if salome.hasDesktop():
- salome.sg.updateObjBrowser(1);
+ salome.sg.updateObjBrowser(True);
print
# ---- update object browser
if salome.hasDesktop():
- salome.sg.updateObjBrowser(1);
+ salome.sg.updateObjBrowser(True);
print
# ---- update object browser
if salome.hasDesktop():
- salome.sg.updateObjBrowser(1);
+ salome.sg.updateObjBrowser(True);
sfp << std::endl;
sfp << "if salome.sg.hasDesktop():" << std::endl;
- sfp << "\tsalome.sg.updateObjBrowser(1)" << std::endl;
+ sfp << "\tsalome.sg.updateObjBrowser(True)" << std::endl;
if(isDumpVisuals) { //Output the call to Session's method restoreVisualState
sfp << "\tiparameters.getSession().restoreVisualState(1)" << std::endl;