]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
23024: [CEA 1447] Regression imp_1346_CAS2.py
authoreap <eap@opencascade.com>
Thu, 19 Mar 2015 15:26:38 +0000 (18:26 +0300)
committereap <eap@opencascade.com>
Thu, 19 Mar 2015 15:26:38 +0000 (18:26 +0300)
src/SMESH_I/SMESH_MeshEditor_i.cxx
src/SMESH_SWIG/smeshBuilder.py

index 7b0ba25b873e150d6cf01d338c1f62f9fe5fb3a8..d233bb63fa7c62b3ae7ce33c9692b70955526da9 100644 (file)
@@ -2458,8 +2458,8 @@ namespace MeshEditor_I
     ExtrusionParams(CORBA::Double  theStepSize,
                     CORBA::Long    theNbOfSteps,
                     CORBA::Short   theDim,
-                    CORBA::Boolean theUseInputElemsOnly,
                     CORBA::Boolean theByAverageNormal,
+                    CORBA::Boolean theUseInputElemsOnly,
                     CORBA::Boolean theMakeGroups ):
       ::SMESH_MeshEditor::ExtrusParam ( theStepSize, 
                                         theNbOfSteps,
index 0433e460213d0c0bb8c893e12f69989443a34611..74dddbd464b7979f2b3a790ea9bfd9f3cafc1728 100644 (file)
@@ -4738,14 +4738,16 @@ class Mesh:
 #
 class meshEditor(SMESH._objref_SMESH_MeshEditor):
     def __init__(self):
+        SMESH._objref_SMESH_MeshEditor.__init__(self)
         self.mesh = None
     def __getattr__(self, name ): # method called if an attribute not found
-        if not self.mesh:
+        if not self.mesh:         # look for name() method in Mesh class
             self.mesh = Mesh( None, None, SMESH._objref_SMESH_MeshEditor.GetMesh(self))
         if hasattr( self.mesh, name ):
             return getattr( self.mesh, name )
         if name == "ExtrusionAlongPathObjX":
             return getattr( self.mesh, "ExtrusionAlongPathX" )
+        print name, "NOT FOUND"
         return None
     pass
 omniORB.registerObjref(SMESH._objref_SMESH_MeshEditor._NP_RepositoryId, meshEditor)