Transformation Channel Driver Variables - "Proper Localspace"
authorJoshua Leung <aligorith@gmail.com>
Mon, 13 Jun 2011 13:54:21 +0000 (13:54 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 13 Jun 2011 13:54:21 +0000 (13:54 +0000)
commita4216cb1d4336bd2244f4519398db0b9f19833ad
tree29a031f5980afc355b0372b8c875fa216159bd28
parent8e85491ab7f4d2e156910eceb87ca4023d42c95a
Transformation Channel Driver Variables - "Proper Localspace"

By popular demand, the "Transformation Channel" driver variable type
now has a "local space" transform space option which uses the same
magic that constraints use for defining local-space. This is what many
bug reporters and feature requesters have moaned about for a while
now, so after reviewing several of the bug reports which lead to the
current situation, here is what has been much-wanted for so long!

In order to implement this, I've:
- renamed the old "Local Space" option here to "Transformation Space",
in order to prevent old rigs breaking. This has also been kept, as it
is useful for #21384 (though perhaps with this new option it isn't
needed anymore)
- reviewed my fix for #20870 (IIRC, a Durian-era bug), which related
to the non-uniqueness of matrix->euler decomposition
source/blender/blenkernel/intern/fcurve.c
source/blender/editors/space_graph/graph_buttons.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_fcurve.c