From f9f5daed9bb0b1f239b3b3d3de7e6ff95b56e3d2 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 21 Oct 2011 06:45:08 +0000 Subject: disabling utf8 for OSX. It's not working 100% and it's breaking other things --- intern/ghost/intern/GHOST_SystemCocoa.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 1dfb8e36422..c3c0c591444 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1706,6 +1706,10 @@ GHOST_TSuccess GHOST_SystemCocoa::handleKeyEvent(void *eventPtr) utf8_buf[0] = '\0'; } } + + /* XXX the above code gives us the right utf8, however if we pass it along Font Object doesn't work. + let's leave utf8 disabled for OSX before we fix that */ + utf8_buf[0] = '\0';//to be removed once things are working if ((keyCode == GHOST_kKeyQ) && (m_modifierMask & NSCommandKeyMask)) break; //Cmd-Q is directly handled by Cocoa -- cgit v1.2.3