forked from bartvdbraak/blender
BGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah Lane (solarlune). The embedded player now treats KM_DBL_CLICK the same as KM_PRESS.
This commit is contained in:
parent
5a6d695218
commit
936fca57c3
@ -105,7 +105,7 @@ bool KX_BlenderKeyboardDevice::ConvertBlenderEvent(unsigned short incode,short v
|
||||
{
|
||||
int previousTable = 1-m_currentTable;
|
||||
|
||||
if (val == KM_PRESS)
|
||||
if (val == KM_PRESS || val == KM_DBL_CLICK)
|
||||
{
|
||||
if (kxevent == KX_KetsjiEngine::GetExitKey() && val != 0 && !m_hookesc)
|
||||
result = true;
|
||||
|
Loading…
Reference in New Issue
Block a user