From c4e4c8b73c32e55234b3663b44aca72e43d9283d Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 18 Jul 2012 12:41:15 +0000 Subject: [PATCH] fix GetSubMeshNodesId() --- src/SMESH_SWIG/smeshDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2