diff options
author | Ton Roosendaal <ton@blender.org> | 2008-02-05 21:11:16 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-02-05 21:11:16 +0300 |
commit | 217b3647b1a1d56390b0795a59c7f82bc6e1d93a (patch) | |
tree | ad9d22abe10816c85f4ab49c8bee275d556e7bbf /source/blender/src/toets.c | |
parent | e04d7128cdbcaf05bb3e0b6127eb142e525ac377 (diff) |
When iserting rotations in poses, the quaternion sometimes rotates exactly
the opposite way as you want. Or even worse, you can never really define
which way it rotates (officially it should do shortest path).
This hotkey flips the quaternion (which means it rotates to same position
exactly via the other way). Hotkey ALT+F (flip) in 3d window posemode.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 088d91f7418..230e8b69de9 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -785,6 +785,8 @@ int blenderqread(unsigned short event, short val) break; case IKEY: if(textediting==0 && textspace==0 && !ELEM3(curarea->spacetype, SPACE_FILE, SPACE_IMASEL, SPACE_NODE)) { + ob= OBACT; + if(G.f & G_SCULPTMODE) return 1; else if(G.qual==0) { common_insertkey(); |