From 4b00e015b7b353b443a6dbaa4d3a1388d053b96f Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 6 Feb 2015 15:38:24 +0300 Subject: [PATCH] If study is loaded from HDF file, init_geom() has to load data to the engine calling LoadWith() function of StudyBuilder --- src/GEOM_SWIG/geomBuilder.py | 3 +++ 1 file changed, 3 insertions(+) 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):