2.5 Rotations: As a experiment, enabling Axis-Angle for Bones
authorJoshua Leung <aligorith@gmail.com>
Fri, 11 Sep 2009 12:05:09 +0000 (12:05 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 11 Sep 2009 12:05:09 +0000 (12:05 +0000)
commitd5009eb1423c3c0359cbc85c7346412c597b8663
treec56d97bdd477682c5dacbf42f500c4e3eec79fef
parent40576677b1dff5373d5b673b599ea9beb094b1ea
2.5 Rotations: As a experiment, enabling Axis-Angle for Bones

The support for this is really quite hacky, and I might disable this later if we cannot get some parts to work nicely.

Some notes:
* This is currently stored in the same variable that quaternions are stored in, since they both have 4 components. However, in RNA, I've added 2 properties specially for this.
* There are some shearing issues using certain axes - i.e. (1,1,0) - that will need to be checked on.
* Transform code is really quite temporary for this. Just a quick demo of what can be done...
release/ui/buttons_data_bone.py
source/blender/blenkernel/intern/armature.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesrna/intern/rna_pose.c
source/blender/windowmanager/intern/wm_files.c