From 68e80dd97fda1e411cb8e4946e9e674ffa0009a0 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 22 Nov 2012 17:03:01 +0000 Subject: [PATCH] regression imps/H8 Make Mesh.functors be not shared by all Mesh'es --- 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 548276c7d..c07bfef20 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -963,7 +963,6 @@ class Mesh: geom = 0 mesh = 0 editor = 0 - functors = [None] * SMESH.FT_Undefined._v ## Constructor # @@ -1009,7 +1008,8 @@ class Mesh: if not self.geom: self.geom = self.mesh.GetShapeToMesh() - self.editor = self.mesh.GetMeshEditor() + self.editor = self.mesh.GetMeshEditor() + self.functors = [None] * SMESH.FT_Undefined._v # set self to algoCreator's for attrName in dir(self): -- 2.39.2