mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
for compute error, fix finding a name of the main shape
This commit is contained in:
parent
6c0d85e97d
commit
513c7615da
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user