From: vsr Date: Fri, 6 Feb 2015 12:38:24 +0000 (+0300) Subject: If study is loaded from HDF file, init_geom() has to load data to the engine calling... X-Git-Tag: V7_6_0a1~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b00e015b7b353b443a6dbaa4d3a1388d053b96f;p=modules%2Fgeom.git If study is loaded from HDF file, init_geom() has to load data to the engine calling LoadWith() function of StudyBuilder --- diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index fad3398cb..f797094eb 100755 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -785,6 +785,9 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): self.myUseCaseBuilder = self.myStudy.GetUseCaseBuilder() self.myUseCaseBuilder.SetRootCurrent() self.myUseCaseBuilder.Append(self.father) + + # load data from the study file, if necessary + self.myBuilder.LoadWith(self.father, self) pass def GetPluginOperations(self, studyID, libraryName):