-Bugfix #3254: Ipo.addCurve() didn't check if curve already existed before

creating (reported by Toni)
This commit is contained in:
Ken Hughes
2005-10-25 04:46:49 +00:00
parent 4212796628
commit edd998c042
2 changed files with 13 additions and 13 deletions

View File

@@ -107,7 +107,8 @@ class Ipo:
def addCurve(curvename):
"""
Add a new curve to the IPO object. The possible values for 'curvename' are:
Add a new curve to the IPO object. Throws an exception if the curve
already exists in the IPO. The possible values for 'curvename' are:
1. Camera Ipo: Lens, ClSta, ClEnd, Apert, FDist.
2. Material Ipo: R, G, B, SpecR, SpecG, SpecB, MirR, MirG, MirB, Ref,
Alpha, Emit, Amb, Spec, Hard, SpTra, Ior, Mode, HaSize, Translu,