From d8958e02d28412cb7e246a6e31035a78884cbef5 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Thu, 22 Nov 2012 10:59:46 +0000 Subject: [PATCH] Fix #33185 by taking new sysctl hw.model into accont --- intern/ghost/intern/GHOST_SystemCocoa.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index e2361392b5f..47e1e1d8531 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -577,7 +577,8 @@ GHOST_SystemCocoa::GHOST_SystemCocoa() //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;