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-04-06 11:49:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-06 11:49:10 +0400
commitbad41fcff50f599dd1e9a6595a365d6d796df584 (patch)
treedb14f80dcfa3c5c137c2fdd27896227d0c4d42a9 /release/scripts/modules/rigify/leg_quadruped.py
parent5304a65b50103c405cc5130a479a36833ec7f9bd (diff)
- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().
Diffstat (limited to 'release/scripts/modules/rigify/leg_quadruped.py')
-rw-r--r--release/scripts/modules/rigify/leg_quadruped.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/rigify/leg_quadruped.py b/release/scripts/modules/rigify/leg_quadruped.py
index c21680740bd..701fe295aac 100644
--- a/release/scripts/modules/rigify/leg_quadruped.py
+++ b/release/scripts/modules/rigify/leg_quadruped.py
@@ -207,7 +207,7 @@ def ik(obj, bone_definition, base_names, options):
prop["min"] = 0.0
prop["max"] = 1.0
- ik_driver_path = pb[ik_chain.foot].path_to_id() + '["ik"]'
+ ik_driver_path = pb[ik_chain.foot].path_from_id() + '["ik"]'
# simple constraining of orig bones
con = mt_chain.thigh_p.constraints.new('COPY_TRANSFORMS')
@@ -369,7 +369,7 @@ def fk(obj, bone_definition, base_names, options):
prop["min"] = 0.0
prop["max"] = 1.0
- hinge_driver_path = pb[fk_chain.thigh].path_to_id() + '["hinge"]'
+ hinge_driver_path = pb[fk_chain.thigh].path_from_id() + '["hinge"]'
fcurve = con.driver_add("influence", 0)
driver = fcurve.driver