From ff644361c82ba87ed768ad457533b41dcf24133c Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 6 Jul 2015 16:41:46 +0300 Subject: [PATCH] 23111: [CEA 1541] copy.deepcopy does not work on an objet of type Mesh --- src/SMESH_SWIG/smeshBuilder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index c6e1eabb4..430b1fb35 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -4773,8 +4773,11 @@ class meshEditor(SMESH._objref_SMESH_MeshEditor): return getattr( self.mesh, name ) if name == "ExtrusionAlongPathObjX": return getattr( self.mesh, "ExtrusionAlongPathX" ) - print name, "NOT FOUND" + print name, "meshEditor: attribute '%s' NOT FOUND" % name return None + def __deepcopy__(self, memo=None): + new = self.__class__() + return new pass omniORB.registerObjref(SMESH._objref_SMESH_MeshEditor._NP_RepositoryId, meshEditor) -- 2.39.2