Skip to content
Snippets Groups Projects
Commit aa8b86fc authored by Dalai Felinto's avatar Dalai Felinto
Browse files

Commit of recent trunk merge.

parent 97895438
Branches
No related tags found
No related merge requests found
Showing
with 1800 additions and 1801 deletions
...@@ -144,7 +144,7 @@ BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib' ...@@ -144,7 +144,7 @@ BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
WITH_BF_OGG = False # -DWITH_OGG WITH_BF_OGG = False # -DWITH_OGG
BF_OGG = '/usr' BF_OGG = '/usr'
BF_OGG_INC = '${BF_OGG}/include' BF_OGG_INC = '${BF_OGG}/include'
BF_OGG_LIB = 'ogg vorbis theoraenc theoradec' BF_OGG_LIB = 'ogg vorbis vorbisenc theoraenc theoradec'
WITH_BF_OPENJPEG = True WITH_BF_OPENJPEG = True
BF_OPENJPEG = '#extern/libopenjpeg' BF_OPENJPEG = '#extern/libopenjpeg'
......
...@@ -172,6 +172,9 @@ int btPersistentManifold::addManifoldPoint(const btManifoldPoint& newPoint) ...@@ -172,6 +172,9 @@ int btPersistentManifold::addManifoldPoint(const btManifoldPoint& newPoint)
#if MANIFOLD_CACHE_SIZE >= 4 #if MANIFOLD_CACHE_SIZE >= 4
//sort cache so best points come first, based on area //sort cache so best points come first, based on area
insertIndex = sortCachedPoints(newPoint); insertIndex = sortCachedPoints(newPoint);
if (insertIndex<0)
insertIndex=0;
#else #else
insertIndex = 0; insertIndex = 0;
#endif #endif
...@@ -180,11 +183,7 @@ int btPersistentManifold::addManifoldPoint(const btManifoldPoint& newPoint) ...@@ -180,11 +183,7 @@ int btPersistentManifold::addManifoldPoint(const btManifoldPoint& newPoint)
} else } else
{ {
m_cachedPoints++; m_cachedPoints++;
} }
if (insertIndex<0)
insertIndex=0;
btAssert(m_pointCache[insertIndex].m_userPersistentData==0); btAssert(m_pointCache[insertIndex].m_userPersistentData==0);
m_pointCache[insertIndex] = newPoint; m_pointCache[insertIndex] = newPoint;
......
/** /**
* *
* $Id: BOP_Merge22.cpp 14444 2008-04-16 22:40:48Z hos $ * $Id$
* *
* ***** BEGIN GPL LICENSE BLOCK ***** * ***** BEGIN GPL LICENSE BLOCK *****
* *
......
/** /**
* *
* $Id: BOP_Misc.h 14444 2008-04-16 22:40:48Z khughes $ * $Id$
* *
* ***** BEGIN GPL LICENSE BLOCK ***** * ***** BEGIN GPL LICENSE BLOCK *****
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment