Salome HOME
Fix bug 13341: geompy.SubShapeAllSortedIDs() works wrong.
authorjfa <jfa@opencascade.com>
Thu, 31 Aug 2006 12:29:31 +0000 (12:29 +0000)
committerjfa <jfa@opencascade.com>
Thu, 31 Aug 2006 12:29:31 +0000 (12:29 +0000)
src/GEOM_SWIG/geompy.py

index 13ae959862d4e61abfc89cc53a7483a1e2d01330..5e49204c4145c015e1fe725c75968d7004853662 100644 (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>.