From: eap Date: Wed, 18 Jul 2012 12:41:15 +0000 (+0000) Subject: fix GetSubMeshNodesId() X-Git-Tag: V6_6_0a1~267 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4e4c8b73c32e55234b3663b44aca72e43d9283d;p=modules%2Fsmesh.git fix GetSubMeshNodesId() --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index c81c1434c..1eb21ec02 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -2037,7 +2037,7 @@ class Mesh: # @ingroup l1_meshinfo def GetSubMeshNodesId(self, Shape, all): if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): - ShapeID = Shape.GetSubShapeIndices()[0] + ShapeID = self.geompyD.GetSubShapeID( self.geom, Shape ) else: ShapeID = Shape return self.mesh.GetSubMeshNodesId(ShapeID, all)