diff options
author | Nathan Vegdahl <cessen@cessen.com> | 2010-01-19 22:07:09 +0300 |
---|---|---|
committer | Nathan Vegdahl <cessen@cessen.com> | 2010-01-19 22:07:09 +0300 |
commit | c54d54e8aeb386fd8f5cbd61d62fb5a490bb6ea8 (patch) | |
tree | 6a9fdb6aa9b7ddf4ae4c864bd42075efdc6ae3de /release/scripts/modules/rigify/palm_curl.py | |
parent | 40fb29862ea06794d27378aaf64638d8c1f72121 (diff) |
Rigify:
- Added two driven-shape-key rig types that create and drive shape keys on a mesh/meshes based on the distance or rotation difference between two bones.
- Fixed bug in finger curl rig type where secondary finger controls were not created. Finger type can also now (optionally) have a hinge switch (useful when using it for wings).
- Changed the blending system in rigify_utils to use copy_transforms constraints instead of copy_loc+copy_rot.
- Finished the quadruped leg type. Now has both ik and fk control and ik/fk switching. Also uses a rotating bone to control the knee direction instead of a pole target (seems to work more consistently for quadruped setups). There's still one annoying bug regarding foot roll, but it's not blocking. I'll track it down later.
- Mouth rig now creates corrective shape keys on the face mesh for dealing with mouth corners when they spread open.
- Biped arm and leg types now cause mesh to scale when you scale the fk controls.
- Misc improvements to the rig types.
Diffstat (limited to 'release/scripts/modules/rigify/palm_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/palm_curl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/modules/rigify/palm_curl.py b/release/scripts/modules/rigify/palm_curl.py index 9e60bc9dc22..b231919823b 100644 --- a/release/scripts/modules/rigify/palm_curl.py +++ b/release/scripts/modules/rigify/palm_curl.py @@ -152,6 +152,7 @@ def main(obj, bone_definition, base_names, options): control_pbone.rotation_mode = 'YZX' control_pbone.lock_rotation = False, True, True + control_pbone.lock_location = True, True, True driver_fcurves = pinky_pbone.driver_add("rotation_euler") @@ -163,6 +164,8 @@ def main(obj, bone_definition, base_names, options): prop = rna_idprop_ui_prop_get(control_pbone, "spread", create=True) prop["soft_min"] = -1.0 prop["soft_max"] = 1.0 + prop["min"] = -1.0 + prop["max"] = 1.0 # ***** |