From 3e9666a36b8a000f19cc42422431dd8451367bbc Mon Sep 17 00:00:00 2001 From: prascle Date: Fri, 15 Mar 2013 10:56:06 +0000 Subject: [PATCH] PR: adaptation to geomBuilder --- src/GEOM_PY/geomtools.py | 8 -------- 1 file changed, 8 deletions(-) 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] -- 2.39.2