[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52475] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: Fix #33185 by taking new sysctl hw.model into accont
jens verwiebe
info at jensverwiebe.de
Thu Nov 22 11:59:46 CET 2012
Revision: 52475
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52475
Author: jensverwiebe
Date: 2012-11-22 10:59:46 +0000 (Thu, 22 Nov 2012)
Log Message:
-----------
Fix #33185 by taking new sysctl hw.model into accont
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 2012-11-22 09:57:38 UTC (rev 52474)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm 2012-11-22 10:59:46 UTC (rev 52475)
@@ -577,7 +577,8 @@
//Hack on MacBook revision, as multitouch avail. function missing
if (strstr(rstring,"MacBookAir") ||
- (strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')))
+ (strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')) ||
+ (strstr(rstring,"MacBookPro") && (rstring[strlen(rstring)-3]>='10'))) // Retina Models
m_hasMultiTouchTrackpad = true;
else m_hasMultiTouchTrackpad = false;
More information about the Bf-blender-cvs
mailing list