diff options
author | Matt Ebb <matt@mke3.net> | 2007-01-12 08:26:17 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-01-12 08:26:17 +0300 |
commit | 99d16b99cd71ef14f4b83b987f925700f109f623 (patch) | |
tree | e922ea7008083d199663c5eb39b45d64cde2ae96 | |
parent | 25361281a168256d11c9750565f80b8824b58b21 (diff) |
* Fix: The sculptmode hotkey I to change to Inflate brush wasn't working,
since it was being overridden by blenderqread() in toets.c The existence of
this stuff here alongside the hotkeys in space.c is just plain evil, bring on
the events refactor! :)
-rw-r--r-- | source/blender/src/toets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index a0b54e54a32..355a1535f42 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -713,7 +713,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)) { - if(G.qual==0) { + if(G.f & G_SCULPTMODE) return 1; + else if(G.qual==0) { common_insertkey(); return 0; } |