def GetMeshEditor(self):

-        return self.mesh.GetMeshEditor()
+        return self.editor
This commit is contained in:
eap 2012-09-17 10:23:15 +00:00
parent ff7d2479be
commit 0798335da8

View File

@ -1764,14 +1764,14 @@ class Mesh:
# @return an instance of SMESH_MeshEditor # @return an instance of SMESH_MeshEditor
# @ingroup l1_modifying # @ingroup l1_modifying
def GetMeshEditor(self): def GetMeshEditor(self):
return self.mesh.GetMeshEditor() return self.editor
## Wrap a list of IDs of elements or nodes into SMESH_IDSource which ## Wrap a list of IDs of elements or nodes into SMESH_IDSource which
# can be passed as argument to a method accepting mesh, group or sub-mesh # can be passed as argument to a method accepting mesh, group or sub-mesh
# @return an instance of SMESH_IDSource # @return an instance of SMESH_IDSource
# @ingroup l1_auxiliary # @ingroup l1_auxiliary
def GetIDSource(self, ids, elemType): def GetIDSource(self, ids, elemType):
return self.GetMeshEditor().MakeIDSource(ids, elemType) return self.editor.MakeIDSource(ids, elemType)
## Gets MED Mesh ## Gets MED Mesh
# @return an instance of SALOME_MED::MESH # @return an instance of SALOME_MED::MESH