]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Update notebook.myStudy to avoid problem with the bad reference to the
authorrnv <rnv@opencascade.com>
Tue, 29 Apr 2014 12:12:10 +0000 (16:12 +0400)
committerrnv <rnv@opencascade.com>
Tue, 29 Apr 2014 12:12:10 +0000 (16:12 +0400)
SalomeDS study during update study from the notebook.

src/GEOM_SWIG/geomBuilder.py

index 74d835d0aaed5d84e18f4b79c9b9317188578f86..79bfbb4a05c80c3ba72df173882c09d748c594f3 100644 (file)
@@ -729,6 +729,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
             self.myStudyId = self.myStudy._get_StudyId()
             self.myBuilder = self.myStudy.NewBuilder()
             self.father = self.myStudy.FindComponent("GEOM")
+            notebook.myStudy = theStudy
             if self.father is None:
                 self.father = self.myBuilder.NewComponent("GEOM")
                 A1 = self.myBuilder.FindOrCreateAttribute(self.father, "AttributeName")