Bugfix #5289: "Shape Wizard Widget" script was using non-existant key:
changed so "Key 0" is substituted for "Basis". This may not be correct... Also, fix to make ob.setEuler() accept a tuple again.
This commit is contained in:
@@ -106,10 +106,13 @@ def verifyIpocurve(ky,index):
|
||||
nip = Ipo.New("Key","keyipo")
|
||||
ky.ipo = nip
|
||||
ipo = ky.ipo
|
||||
idx = "Key " + str(index)
|
||||
if index == 0:
|
||||
idx = "Basis"
|
||||
else:
|
||||
idx = "Key " + str(index)
|
||||
crv = ipo.getCurve(index)
|
||||
if crv == None:
|
||||
crv = ipo.addCurve(idx)
|
||||
crv = ipo.addCurve(idx)
|
||||
crv.setInterpolation("Linear")
|
||||
return crv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user