]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for #1587 : in second study sometimes "salome" package study is not initialized...
authormpv <mpv@opencascade.com>
Wed, 22 Jun 2016 11:31:08 +0000 (14:31 +0300)
committermpv <mpv@opencascade.com>
Wed, 22 Jun 2016 11:31:08 +0000 (14:31 +0300)
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py

index 1e8f814882788a28a2f3f7ef468c4a9c1525eb61..a67c736339ba18e1d8b8fddc18e41aebb8c972a8 100644 (file)
@@ -163,6 +163,7 @@ class ExportFeature(ModelAPI.ModelAPI_Feature):
         ## List of objects created in the old geom for later use
         self.geomObjects = []
         ## geomBuilder tool
+        salome.salome_init(0,1)
         self.geompy = geomBuilder.New(salome.myStudy)
 
         # Export bodies and groups