0021520: EDF 522 SMESH: Regression in MirrorMakeMesh

-        mesh.SetParameters(Mirror.parameters)
+        self.mesh.SetParameters(Mirror.parameters)
This commit is contained in:
eap 2012-03-19 14:31:57 +00:00
parent 834b58597d
commit 9176157728

View File

@ -3423,7 +3423,7 @@ class Mesh:
IDsOfElements = self.GetElementsId() IDsOfElements = self.GetElementsId()
if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)):
Mirror = self.smeshpyD.GetAxisStruct(Mirror) Mirror = self.smeshpyD.GetAxisStruct(Mirror)
mesh.SetParameters(Mirror.parameters) self.mesh.SetParameters(Mirror.parameters)
mesh = self.editor.MirrorMakeMesh(IDsOfElements, Mirror, theMirrorType, mesh = self.editor.MirrorMakeMesh(IDsOfElements, Mirror, theMirrorType,
MakeGroups, NewMeshName) MakeGroups, NewMeshName)
return Mesh(self.smeshpyD,self.geompyD,mesh) return Mesh(self.smeshpyD,self.geompyD,mesh)