[Bf-blender-cvs] [deef941] master: Fix build error on OS X in previous commit, this define should stay.

Brecht Van Lommel noreply at git.blender.org
Tue Feb 2 00:41:58 CET 2016


Commit: deef9412084d7e9f2a8c2691ae9a2b326541a142
Author: Brecht Van Lommel
Date:   Tue Feb 2 00:38:14 2016 +0100
Branches: master
https://developer.blender.org/rBdeef9412084d7e9f2a8c2691ae9a2b326541a142

Fix build error on OS X in previous commit, this define should stay.

===================================================================

M	extern/bullet2/patches/blender.patch
M	extern/bullet2/src/LinearMath/btScalar.h

===================================================================

diff --git a/extern/bullet2/patches/blender.patch b/extern/bullet2/patches/blender.patch
index 6bbb683..f67d691 100644
--- a/extern/bullet2/patches/blender.patch
+++ b/extern/bullet2/patches/blender.patch
@@ -216,19 +216,6 @@ index 4854f37..9095c59 100644
  
  #include "BulletCollision/CollisionShapes/btPolyhedralConvexShape.h"
  #include "btConvexPolyhedron.h"
-diff --git a/extern/bullet2/src/LinearMath/btScalar.h b/extern/bullet2/src/LinearMath/btScalar.h
-index 0bfd255..2e24676 100644
---- a/extern/bullet2/src/LinearMath/btScalar.h
-+++ b/extern/bullet2/src/LinearMath/btScalar.h
-@@ -179,7 +179,7 @@ inline int	btGetVersion()
- 		#define BT_USE_SSE
- 		//BT_USE_SSE_IN_API is enabled on Mac OSX by default, because memory is automatically aligned on 16-byte boundaries
- 		//if apps run into issues, we will disable the next line
--		#define BT_USE_SSE_IN_API
-+		//#define BT_USE_SSE_IN_API
-         #ifdef BT_USE_SSE
-             // include appropriate SSE level
-             #if defined (__SSE4_1__)
 diff --git a/extern/bullet2/src/LinearMath/btVector3.cpp b/extern/bullet2/src/LinearMath/btVector3.cpp
 index e05bdcc..dbcf2b6 100644
 --- a/extern/bullet2/src/LinearMath/btVector3.cpp
diff --git a/extern/bullet2/src/LinearMath/btScalar.h b/extern/bullet2/src/LinearMath/btScalar.h
index 2e24676..0bfd255 100644
--- a/extern/bullet2/src/LinearMath/btScalar.h
+++ b/extern/bullet2/src/LinearMath/btScalar.h
@@ -179,7 +179,7 @@ inline int	btGetVersion()
 		#define BT_USE_SSE
 		//BT_USE_SSE_IN_API is enabled on Mac OSX by default, because memory is automatically aligned on 16-byte boundaries
 		//if apps run into issues, we will disable the next line
-		//#define BT_USE_SSE_IN_API
+		#define BT_USE_SSE_IN_API
         #ifdef BT_USE_SSE
             // include appropriate SSE level
             #if defined (__SSE4_1__)




More information about the Bf-blender-cvs mailing list