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:
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;
}