From d06e689ac77d94233be447aed68bdaa54992baf0 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 19 Mar 2015 18:26:38 +0300 Subject: [PATCH] 23024: [CEA 1447] Regression imp_1346_CAS2.py --- src/SMESH_I/SMESH_MeshEditor_i.cxx | 2 +- src/SMESH_SWIG/smeshBuilder.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SMESH_I/SMESH_MeshEditor_i.cxx b/src/SMESH_I/SMESH_MeshEditor_i.cxx index 7b0ba25b8..d233bb63f 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.cxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.cxx @@ -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, diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 0433e4602..74dddbd46 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -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) -- 2.39.2