Blender Git Loki

Git Commits -> Revision 0767cdd

Revision 0767cdd by Campbell Barton (master)
December 27, 2009, 11:14 (GMT)
Transfer Shape Key
Useful if you have 2 different characters with the same base mesh (matching indicies), and want to copy a facial expression for eg, from one to another.
Durian request to re-use shapes between characters.

* Copies the active shape to other selected objects
* Different methods to apply the shape
* * OFFSET, simple translation offset
* * RELATIVE (EDGE/FACE), Use Barycentric transformation to copy the shape. This means the target mesh can be a different orientation and scale and the shape should still apply since the surrounding geometry is used as a basis for the offset.

bug: barycentric transform's depth was inverted.

Note:
* This isnt added into a menu yet,
* This cant be redone since adding a shape key messes up the redo stack. needs fixing for other scripts too.

Commit Details:

Full Hash: 0767cdd4a00e217320a2b9e090373efb0d41209e
SVN Revision: 25574
Parent Commit: eb766f1
Lines Changed: +166, -2

3 Modified Paths:

/release/scripts/modules/rna_info.py (+1, -1) (Diff)
/release/scripts/op/object.py (+164, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021