for compute error, fix finding a name of the main shape

This commit is contained in:
eap 2010-05-12 13:18:43 +00:00
parent 6c0d85e97d
commit 513c7615da

View 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()