Correct ChangeOrientationShellCopy method to really make a copy of an object.

This commit is contained in:
jfa 2006-08-28 15:19:21 +00:00
parent dfe401ea09
commit d7f01a75f1

View 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