Fix bug 13341: geompy.SubShapeAllSortedIDs() works wrong.

This commit is contained in:
jfa 2006-08-31 12:29:31 +00:00
parent 5f4fe4f985
commit cb4b4dddf0

View File

@ -1060,7 +1060,7 @@ def SubShapeAllSortedIDs(aShape, aType):
ListIDs = ShapesOp.SubShapeAllIDs(aShape,aType,1)
if ShapesOp.IsDone() == 0:
print "SubShapeAllSortedIDs : ", ShapesOp.GetErrorCode()
return ListObj
return ListIDs
## Obtain a compound of sub-shapes of <aShape>,
# selected by they indices in list of all sub-shapes of type <aType>.