]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PR: adaptation to geomBuilder
authorprascle <prascle>
Fri, 15 Mar 2013 10:56:06 +0000 (10:56 +0000)
committerprascle <prascle>
Fri, 15 Mar 2013 10:56:06 +0000 (10:56 +0000)
src/GEOM_PY/geomtools.py

index 572b58be8f3b925da6453d04a14721487542ffa0..080ebee211d53ea46f550dbf83efbd35fdeba6d0 100644 (file)
@@ -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]