From 0798335da8d64c4e7ae3dc88148539ac4890c86a Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 17 Sep 2012 10:23:15 +0000 Subject: [PATCH] def GetMeshEditor(self): - return self.mesh.GetMeshEditor() + return self.editor --- src/SMESH_SWIG/smeshDC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 05e122a27..568c7c9ef 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -1764,14 +1764,14 @@ class Mesh: # @return an instance of SMESH_MeshEditor # @ingroup l1_modifying def GetMeshEditor(self): - return self.mesh.GetMeshEditor() + return self.editor ## 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 # @return an instance of SMESH_IDSource # @ingroup l1_auxiliary def GetIDSource(self, ids, elemType): - return self.GetMeshEditor().MakeIDSource(ids, elemType) + return self.editor.MakeIDSource(ids, elemType) ## Gets MED Mesh # @return an instance of SALOME_MED::MESH -- 2.39.2