diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-14 16:41:42 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-14 16:41:42 +0400 |
commit | 4245aaed86dad24395d8b863832be23fcb85ae4e (patch) | |
tree | 6001aea0a084a5806270de768124fd931e670152 /source/blender/src/toets.c | |
parent | 2bf26b93e12de1382850712551ea7203c5b80692 (diff) |
== Global 'Delete Key' Tool ==
The 'opposite' of the "Insert Key" tool.
- Use the hotkey Ctrl-Alt-IKEY to activate.
- Only available in 3d-view and buttons window
I've added an extra var to verify_ipo and verify_ipocurve to save having to make another duplicate of that code. Hopefully the gameengine compiles ok with this.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 8bd10b7186d..41ee557c9c2 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -793,6 +793,10 @@ int blenderqread(unsigned short event, short val) ob= OBACT; if(G.f & G_SCULPTMODE) return 1; + else if(G.qual==(LR_CTRLKEY|LR_ALTKEY)) { + common_deletekey(); + return 0; + } else if(G.qual==0) { common_insertkey(); return 0; |