Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-27 04:05:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-27 04:05:00 +0400
commit240b164a87517ad616ff500cbf16ba901e2ea461 (patch)
tree109f7971176822efb6290ba2a01f9be39467eeae /release/scripts/modules/rigify/palm_curl.py
parentc20bb3ec430350d7f54a3efdbb1af20734665f1d (diff)
fix some errors in rigify caused by recent api changes
Diffstat (limited to 'release/scripts/modules/rigify/palm_curl.py')
-rw-r--r--release/scripts/modules/rigify/palm_curl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rigify/palm_curl.py b/release/scripts/modules/rigify/palm_curl.py
index 369d6928e45..c063e2b31c9 100644
--- a/release/scripts/modules/rigify/palm_curl.py
+++ b/release/scripts/modules/rigify/palm_curl.py
@@ -194,7 +194,7 @@ def main(obj, bone_definition, base_names, options):
driver.expression = "(1.0-cos(x))-s"
for fcurve in driver_fcurves:
- fcurve.modifiers.remove(0) # grr dont need a modifier
+ fcurve.modifiers.remove(fcurve.modifiers[0]) # grr dont need a modifier
var = driver.variables.new()
var.name = "x"