From 513c7615dacf2045c47b0623dcaf9a04fb2343c0 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 12 May 2010 13:18:43 +0000 Subject: [PATCH] for compute error, fix finding a name of the main shape --- src/SMESH_SWIG/smeshDC.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.39.2