From b85751e356c091d2dffe8366a94fbb42bfcad34e Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 21 Feb 2005 06:05:00 +0000 Subject: [PATCH] Fix a bug - salome.py is not imported here and this causes run-time Python exception --- src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py index 660d3ad1b..26097adb8 100644 --- a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py +++ b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py @@ -1,9 +1,7 @@ -import SMESH +from meshpy import * def BuildGroupLyingOn(theMesh, theElemType, theName, theShape): - aMeshGen = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH") - - aFilterMgr = aMeshGen.CreateFilterManager() + aFilterMgr = smesh.CreateFilterManager() aFilter = aFilterMgr.CreateFilter() aLyingOnGeom = aFilterMgr.CreateLyingOnGeom() -- 2.39.2