manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user