From: prascle Date: Fri, 15 Mar 2013 10:56:06 +0000 (+0000) Subject: PR: adaptation to geomBuilder X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e9666a36b8a000f19cc42422431dd8451367bbc;p=modules%2Fgeom.git PR: adaptation to geomBuilder --- diff --git a/src/GEOM_PY/geomtools.py b/src/GEOM_PY/geomtools.py index 572b58be8..080ebee21 100644 --- a/src/GEOM_PY/geomtools.py +++ b/src/GEOM_PY/geomtools.py @@ -53,14 +53,6 @@ def getGeompy(studyId = None): studyId = getActiveStudyId() if not _geompys.has_key(studyId): from salome.geom import geomBuilder - _geompys[studyId] = salome.lcc.FindOrLoadComponent("FactoryServer", - "GEOM") - _geompys[studyId].ShapeType = geomBuilder.ShapeType - _geompys[studyId].GEOM = geomBuilder.GEOM - _geompys[studyId].kind = geomBuilder.kind - _geompys[studyId].info = geomBuilder.info - _geompys[studyId].PackData = geomBuilder.PackData - _geompys[studyId].ReadTexture = geomBuilder.ReadTexture study = salome.myStudyManager.GetStudyByID(studyId) _geompys[studyId] = geomBuilder.New(study) return _geompys[studyId]