]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix GetSubMeshNodesId()
authoreap <eap@opencascade.com>
Wed, 18 Jul 2012 12:41:15 +0000 (12:41 +0000)
committereap <eap@opencascade.com>
Wed, 18 Jul 2012 12:41:15 +0000 (12:41 +0000)
src/SMESH_SWIG/smeshDC.py

index c81c1434c114c00e457314fe2e4f04cef18eecd1..1eb21ec02aef59010ea7b27302095a44eea03977 100644 (file)
@@ -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)