From: ptv Date: Wed, 12 Aug 2009 07:35:36 +0000 (+0000) Subject: correct script (syntax error and missing arguments) Bug IPAL21322 X-Git-Tag: V5_1_3rc1~119 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a85b1b855c784463578aefa407b08a5b095b41a;p=modules%2Fsmesh.git correct script (syntax error and missing arguments) Bug IPAL21322 --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 1649840cc..bfac0f4a6 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -3327,7 +3327,7 @@ class Mesh: # @return TRUE if operation has been completed successfully, FALSE otherwise # @ingroup l2_modif_edit def DoubleNodes(self, theElems, theNodesNot, theAffectedElems): - return self.editor.DoubleNodes(theElems, theNodesNot) + return self.editor.DoubleNodes(theElems, theNodesNot, theAffectedElems) ## Creates a hole in a mesh by doubling the nodes of some particular elements # @param theElems - the list of elements (edges or faces) to be replicated @@ -3338,8 +3338,8 @@ class Mesh: # The replicated nodes should be associated to affected elements. # @return TRUE if operation has been completed successfully, FALSE otherwise # @ingroup l2_modif_edit - def DoubleNodesInRegion( self theElems, theNodesNot, theShape ): - return self.editor.DoubleNodesInRegion(theElems, theNodesNot) + def DoubleNodesInRegion(self, theElems, theNodesNot, theShape): + return self.editor.DoubleNodesInRegion(theElems, theNodesNot, theShape) ## Creates a hole in a mesh by doubling the nodes of some particular elements # This method provided for convenience works as DoubleNodes() described above.