Bug 1568
Wrong usage of B_NOP code in button events (xxxx | B_NOP), which is useles since it is defined as -1. Reminder for all: use a B_NOP if you want a button event not to be passed on to the event queues.
This commit is contained in:
@@ -238,6 +238,7 @@ static int convert_key(GHOST_TKey key) {
|
||||
case GHOST_kKeyRightShift: return RIGHTSHIFTKEY;
|
||||
case GHOST_kKeyLeftControl: return LEFTCTRLKEY;
|
||||
case GHOST_kKeyRightControl: return RIGHTCTRLKEY;
|
||||
case GHOST_kKeyCommand: return LEFTCTRLKEY;
|
||||
case GHOST_kKeyLeftAlt: return LEFTALTKEY;
|
||||
case GHOST_kKeyRightAlt: return RIGHTALTKEY;
|
||||
|
||||
@@ -266,6 +267,7 @@ static int convert_key(GHOST_TKey key) {
|
||||
case GHOST_kKeyNumpadMinus: return PADMINUS;
|
||||
case GHOST_kKeyNumpadAsterisk: return PADASTERKEY;
|
||||
case GHOST_kKeyNumpadSlash: return PADSLASHKEY;
|
||||
|
||||
case GHOST_kKeyUnknown: return UNKNOWNKEY;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user