]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
for compute error, fix finding a name of the main shape
authoreap <eap@opencascade.com>
Wed, 12 May 2010 13:18:43 +0000 (13:18 +0000)
committereap <eap@opencascade.com>
Wed, 12 May 2010 13:18:43 +0000 (13:18 +0000)
src/SMESH_SWIG/smeshDC.py

index 4cde48b12cdb848136938135f8bb726f787d1a62..5e923300583d75c95884613ae2b3990b5aef2240 100644 (file)
@@ -1197,6 +1197,8 @@ class Mesh:
                             if not s: continue
                             mainSO = s.FindObjectIOR(mainIOR)
                             if not mainSO: continue
+                            if err.subShapeID == 1:
+                                shapeText = ' on "%s"' % mainSO.GetName()
                             subIt = s.NewChildIterator(mainSO)
                             while subIt.More():
                                 subSO = subIt.Value()