]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix wrong Python dump for GetShapesOnSphereIDs() function
authorvsr <vsr@opencascade.com>
Tue, 25 Dec 2012 11:45:33 +0000 (11:45 +0000)
committervsr <vsr@opencascade.com>
Tue, 25 Dec 2012 11:45:33 +0000 (11:45 +0000)
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx

index eb8ec50fcf4298cdbc7916bcf3a6c633ef972c82..b07cdf84335d657ac3689a25c05eccd08bc23263 100644 (file)
@@ -3321,7 +3321,7 @@ Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetShapesOnSphere
 
   // Make a Python command
   GEOM::TPythonDump(aFunction, /*append=*/true)
-    << "listShapesOnCylinder = geompy.GetShapesOnCylinderIDs"
+    << "listShapesOnCylinder = geompy.GetShapesOnSphereIDs"
     << "(" << theShape << ", " << aShapeType << ", " << theCenter << ", "
     << theRadius << ", " << theState << ")";