Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2007-01-12 08:26:17 +0300
committerMatt Ebb <matt@mke3.net>2007-01-12 08:26:17 +0300
commit99d16b99cd71ef14f4b83b987f925700f109f623 (patch)
treee922ea7008083d199663c5eb39b45d64cde2ae96 /source/blender/src/toets.c
parent25361281a168256d11c9750565f80b8824b58b21 (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! :)
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c3
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;
}