Salome HOME
fixed incorrect call to salome.salome_init()
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin_PublishToStudyFeature.py
index 00e5235349a0ff6c9a39ffcdf685e3a63edbabb6..4933bd05dac0dfe33cfb9405dfae86902838dc80 100644 (file)
@@ -71,7 +71,7 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature):
             EventsAPI.Events_InfoMessage("PublishToStudy", "Not all PartSet parts are up-to-date, nothing is published. Please, make the last PartSet feature as current.", self).send()
             return
         # find a shaper-study component
-        salome.salome_init(1)
+        salome.salome_init(embedded=True)
         aComponent = SHAPERSTUDY_utils.findOrCreateComponent()
         anEngine = SHAPERSTUDY_utils.getEngine()
         # collect all processed internal entries to break the link of unprocessed later