Various small enhancements/fixes.

Most notable difference from now on will be that all py is handled from current blender's resource dirs, no more from source dir. Better for consistency, and avoid e.g. cycles' addon to be checked twice...

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4333 96b784f8-4ae3-dd11-aff7-0030488c597c
Rigify: fixed two bugs in IK/FK snapping that made it fail in some cases.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4334 96b784f8-4ae3-dd11-aff7-0030488c597c
Rigify: significant upgrade to arm and leg rigs, and misc changes/bugfixes.

Arm/leg rig upgrades:
  - Arms and legs no longer scale with their parents, which was
    problematic when e.g. the torso of a character did
    squash-and-stretch causing the arms/legs to distort and shear.
  - Squash-and-stretch for both FK and IK rigs.
  - Rubber hose controls.

Misc changes/bugfixes:
  - Rigify now locks all pose transforms for non-control bones
    automatically.
  - The README file now correctly reflects the new rig-type API.
  - Scrubbed the code for unused variables and imports.
  - PEP8 cleanups.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4335 96b784f8-4ae3-dd11-aff7-0030488c597c
Rigify: bug fix for biped arm/leg rigs.

The bbone elbow was causing weird twisting and sharp bend angles
even when smooth elbow/knee was fully disabled.  Now fixed.

This fix, however, exposes bug #34532 in Blender, so for the time
being the transition between smooth/sharp elbow is a jumpy one.
This is less objectionable, however, then the weird twisting
that was happening, as bug #34532 can be worked around by the
animator, whereas the weird twisting could not be worked around.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4342 96b784f8-4ae3-dd11-aff7-0030488c597c