From: nge Date: Wed, 27 Jan 2010 11:08:25 +0000 (+0000) Subject: import salome missing on some scripts X-Git-Tag: PARAVIS_29012010~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a63ab6b7e1af1751679a721fa13d0f9d1efa10ab;p=modules%2Fsmesh.git import salome missing on some scripts --- diff --git a/src/SMESH_SWIG/SMESH_AdvancedEditor.py b/src/SMESH_SWIG/SMESH_AdvancedEditor.py index 561f1dc52..3eeae8e74 100644 --- a/src/SMESH_SWIG/SMESH_AdvancedEditor.py +++ b/src/SMESH_SWIG/SMESH_AdvancedEditor.py @@ -20,6 +20,7 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +import salome import smesh import math diff --git a/src/SMESH_SWIG/SMESH_BuildCompound.py b/src/SMESH_SWIG/SMESH_BuildCompound.py index 0f92cda70..2ef1446fc 100644 --- a/src/SMESH_SWIG/SMESH_BuildCompound.py +++ b/src/SMESH_SWIG/SMESH_BuildCompound.py @@ -29,6 +29,7 @@ # ! as some sequences of symbols from this example are used during # ! documentation generation to identify certain places of this file # +import salome import geompy import smesh diff --git a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py index 63a04efa6..6cd724bce 100644 --- a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py +++ b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py @@ -20,6 +20,7 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +import salome import smesh smesh.SetCurrentStudy(salome.myStudy)