[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41172] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: disabling utf8 for OSX.

Dalai Felinto dfelinto at gmail.com
Fri Oct 21 08:45:09 CEST 2011


Revision: 41172
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41172
Author:   dfelinto
Date:     2011-10-21 06:45:08 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
disabling utf8 for OSX. It's not working 100% and it's breaking other things

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2011-10-21 06:36:01 UTC (rev 41171)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2011-10-21 06:45:08 UTC (rev 41172)
@@ -1706,6 +1706,10 @@
 					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




More information about the Bf-blender-cvs mailing list