]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021520: EDF 522 SMESH: Regression in MirrorMakeMesh
authoreap <eap@opencascade.com>
Mon, 19 Mar 2012 14:31:57 +0000 (14:31 +0000)
committereap <eap@opencascade.com>
Mon, 19 Mar 2012 14:31:57 +0000 (14:31 +0000)
-        mesh.SetParameters(Mirror.parameters)
+        self.mesh.SetParameters(Mirror.parameters)

src/SMESH_SWIG/smeshDC.py

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