From cb4b4dddf0e220d97fc161211b3bf5b706e93264 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 31 Aug 2006 12:29:31 +0000 Subject: [PATCH] Fix bug 13341: geompy.SubShapeAllSortedIDs() works wrong. --- src/GEOM_SWIG/geompy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . -- 2.39.2