From: eap Date: Wed, 12 May 2010 13:18:43 +0000 (+0000) Subject: for compute error, fix finding a name of the main shape X-Git-Tag: V5_1_4~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=513c7615dacf2045c47b0623dcaf9a04fb2343c0;p=modules%2Fsmesh.git for compute error, fix finding a name of the main shape --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 4cde48b12..5e9233005 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -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()