Salome HOME
Correct ChangeOrientationShellCopy method to really make a copy of an object.
authorjfa <jfa@opencascade.com>
Mon, 28 Aug 2006 15:19:21 +0000 (15:19 +0000)
committerjfa <jfa@opencascade.com>
Mon, 28 Aug 2006 15:19:21 +0000 (15:19 +0000)
src/GEOM_SWIG/geompy.py

index 318f667abf672c292ce8707d3f2fcd936aed7d3d..13ae959862d4e61abfc89cc53a7483a1e2d01330 100644 (file)
@@ -1211,7 +1211,7 @@ def ChangeOrientationShell(theObject):
 #  @param theObject Shape to be processed.
 #  @return New GEOM_Object, containing processed shape.
 def ChangeOrientationShellCopy(theObject):
-    anObj = HealOp.ChangeOrientation(theObject)
+    anObj = HealOp.ChangeOrientationCopy(theObject)
     if HealOp.IsDone() == 0:
       print "ChangeOrientation : ", HealOp.GetErrorCode()
     return anObj