Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
171b3e8
)
fix GetSubMeshNodesId()
author
eap
<eap@opencascade.com>
Wed, 18 Jul 2012 12:41:15 +0000
(12:41 +0000)
committer
eap
<eap@opencascade.com>
Wed, 18 Jul 2012 12:41:15 +0000
(12:41 +0000)
src/SMESH_SWIG/smeshDC.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smeshDC.py
b/src/SMESH_SWIG/smeshDC.py
index c81c1434c114c00e457314fe2e4f04cef18eecd1..1eb21ec02aef59010ea7b27302095a44eea03977 100644
(file)
--- 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)