From: jfa Date: Thu, 31 Aug 2006 12:29:31 +0000 (+0000) Subject: Fix bug 13341: geompy.SubShapeAllSortedIDs() works wrong. X-Git-Tag: V3_2_2pre~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb4b4dddf0e220d97fc161211b3bf5b706e93264;p=modules%2Fgeom.git Fix bug 13341: geompy.SubShapeAllSortedIDs() works wrong. --- diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index 13ae95986..5e49204c4 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -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 , # selected by they indices in list of all sub-shapes of type .