From fbcb0c1e453679cd347b331e22d95d5b562e3b27 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 12 Nov 2006 09:26:38 +0000 Subject: [PATCH] New 'TOG DUAL' button (for locking bone layers) disabled extend-press with shift key. --- source/blender/src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 7e94ede8fd4..609a0a3088c 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -1509,7 +1509,7 @@ static int ui_do_but_TOG(uiBlock *block, uiBut *but, int qual) int w, lvalue, push; /* local hack... */ - if(but->type==BUT_TOGDUAL && qual) { + if(but->type==BUT_TOGDUAL && qual==LR_CTRLKEY) { if(but->pointype==SHO) but->poin += 2; else if(but->pointype==INT)