diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-27 14:14:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-27 14:14:06 +0300 |
commit | 0767cdd4a00e217320a2b9e090373efb0d41209e (patch) | |
tree | d6b30c775a025ced12c3ee930f82536d74c73aaa /release/scripts/modules/rna_info.py | |
parent | eb766f1d3ff7f8ebb1ff257e2bdd154c20ed3c1d (diff) |
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.
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r-- | release/scripts/modules/rna_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index 0a1b02d5759..86da0b56943 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -232,7 +232,7 @@ class InfoPropertyRNA: if self.is_never_none: type_str += ", (never None)" - + return type_str def __repr__(self): |