Blender Git Loki

Git Commits -> Revision 3187e36

Revision 3187e36 by Martin Poirier (master)
October 28, 2009, 20:30 (GMT)
Gimbal Transform orientations

Will use rotation gimbal axis when an object or bone set to Euler rotation mode is selected (global axis otherwise)

Use case: being able to do rotations that only affect one animation curve in the 3d view instead of just in the curve editor.

I'm committing this right now despite what follows because it's already useful as is.

Known bug: manipulator arrows can look slightly skewed (not really a big problem), but more importantly, rotation circles for the rotation manipulator are skewed and will not perfectly reflect the rotation axis (it will still use the correct one though). That will be fixed shortly.

To do: This orientation should act like Local, where each object/bone uses its own orientation and not just the one of the active object/bone.

Note: Saved files with custom orientations might end up with other orientations selected when being opened up. I don't think it's that useful to make a do_version for that, but I can if warranted.

Commit Details:

Full Hash: 3187e365d90f5c0e46d721370c0d381f83813c66
SVN Revision: 24146
Parent Commit: c2f9cfb
Lines Changed: +147, -7

7 Modified Paths:

/source/blender/blenlib/BLI_arithb.h (+1, -1) (Diff)
/source/blender/blenlib/intern/arithb.c (+63, -0) (Diff)
/source/blender/editors/transform/transform_constraints.c (+4, -0) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+67, -3) (Diff)
/source/blender/editors/transform/transform_orientations.c (+8, -2) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021