[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53380] trunk/blender/intern/ghost/intern: Hrm... replacing

Ton Roosendaal ton at blender.org
Fri Dec 28 20:26:26 CET 2012


Revision: 53380
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53380
Author:   ton
Date:     2012-12-28 19:26:25 +0000 (Fri, 28 Dec 2012)
Log Message:
-----------
Hrm... replacing

MAC_OS_X_VERSION_MAX_ALLOWED
with
MAC_OS_X_VERSION_MIN_REQUIRED

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

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-12-28 19:10:21 UTC (rev 53379)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-12-28 19:26:25 UTC (rev 53380)
@@ -1587,7 +1587,7 @@
 		case NSScrollWheel:
 			{
 				int momentum = 0;
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
 				momentum = [event momentumPhase];
 #endif
 				

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2012-12-28 19:10:21 UTC (rev 53379)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2012-12-28 19:26:25 UTC (rev 53380)
@@ -595,7 +595,7 @@
 	
 	[m_window setAcceptsMouseMovedEvents:YES];
 	
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
 	NSView *view = [m_window contentView];
 	[view setAcceptsTouchEvents:YES];
 #endif




More information about the Bf-blender-cvs mailing list