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.
This commit is contained in:
2009-12-27 11:14:06 +00:00
parent eb766f1d3f
commit 0767cdd4a0
3 changed files with 166 additions and 2 deletions

View File

@@ -232,7 +232,7 @@ class InfoPropertyRNA:
if self.is_never_none:
type_str += ", (never None)"
return type_str
def __repr__(self):