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:
authorDalai Felinto <dfelinto@gmail.com>2011-10-21 10:45:08 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-10-21 10:45:08 +0400
commitf9f5daed9bb0b1f239b3b3d3de7e6ff95b56e3d2 (patch)
tree18c2a8673402b7c0141af704abca0e5a5a717aca /intern/ghost
parentc22a1721e5064fba84a50239e62d53aaefa23d37 (diff)
disabling utf8 for OSX. It's not working 100% and it's breaking other things
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm4
1 files changed, 4 insertions, 0 deletions
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