manually sync rigify with render branch

fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)
This commit is contained in:
2010-05-03 19:12:11 +00:00
parent 6cb02a1672
commit 20fd05abc1
17 changed files with 72 additions and 71 deletions

View File

@@ -54,7 +54,7 @@ def addget_shape_key_driver(obj, name="Key"):
if driver_s.data_path == driver_path:
fcurve = driver_s
if fcurve == None:
fcurve = obj.data.shape_keys.keys[name].driver_add("value", 0)
fcurve = obj.data.shape_keys.keys[name].driver_add("value")
fcurve.driver.type = 'AVERAGE'
return fcurve