regression imps/H8

Make Mesh.functors be not shared by all Mesh'es
This commit is contained in:
eap 2012-11-22 17:03:01 +00:00
parent 61d724e337
commit 68e80dd97f

View File

@ -963,7 +963,6 @@ class Mesh:
geom = 0 geom = 0
mesh = 0 mesh = 0
editor = 0 editor = 0
functors = [None] * SMESH.FT_Undefined._v
## Constructor ## Constructor
# #
@ -1009,7 +1008,8 @@ class Mesh:
if not self.geom: if not self.geom:
self.geom = self.mesh.GetShapeToMesh() 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 # set self to algoCreator's
for attrName in dir(self): for attrName in dir(self):