From: jfa Date: Tue, 18 Apr 2006 12:35:07 +0000 (+0000) Subject: Integrate a patch by Paul RASCLE for V3.2.0b1. X-Git-Tag: T3_2_0b1_pre1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=891fcd3d5480b022cf9e41bdc25f6054e98a65f8;p=modules%2Fgeom.git Integrate a patch by Paul RASCLE for V3.2.0b1. --- diff --git a/src/GEOM_SWIG/GEOM_tube_geom_gg2.py b/src/GEOM_SWIG/GEOM_tube_geom_gg2.py index 29f77815f..9d7ddbcb5 100755 --- a/src/GEOM_SWIG/GEOM_tube_geom_gg2.py +++ b/src/GEOM_SWIG/GEOM_tube_geom_gg2.py @@ -142,6 +142,9 @@ assemblageId = addToStudy(assemblage, "assemblage") # # Display # +gg = ImportComponentGUI("GEOM") +gg.initGeomGen() + gg.createAndDisplayGO(baseId) gg.setTransparency(baseId,0.5) gg.setDisplayMode(baseId,1) @@ -154,4 +157,3 @@ gg.createAndDisplayGO(weldId) gg.setTransparency(weldId,0.5) gg.setDisplayMode(weldId,1) gg.setColor(weldId,0,0,255) - diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index e34d3163e..e5d3382e2 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -36,8 +36,8 @@ import GEOM g = lcc.FindOrLoadComponent("FactoryServer", "GEOM") geom = g._narrow( GEOM.GEOM_Gen ) -gg = ImportComponentGUI("GEOM") -gg.initGeomGen() +#gg = ImportComponentGUI("GEOM") +#gg.initGeomGen() #SRN: modified on Mar 18, 2005