[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16503] trunk/blender/extern/bullet2/src/ BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp: bullet wasnt building on 64bit linux

Campbell Barton ideasman42 at gmail.com
Sat Sep 13 14:07:40 CEST 2008


Revision: 16503
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16503
Author:   campbellbarton
Date:     2008-09-13 14:07:36 +0200 (Sat, 13 Sep 2008)

Log Message:
-----------
bullet wasnt building on 64bit linux

Modified Paths:
--------------
    trunk/blender/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp

Modified: trunk/blender/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp
===================================================================
--- trunk/blender/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp	2008-09-13 11:46:07 UTC (rev 16502)
+++ trunk/blender/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp	2008-09-13 12:07:36 UTC (rev 16503)
@@ -141,7 +141,7 @@
 	}
 	void		Process(const btDbvtNode* leaf)
 	{
-		int index = int(leaf->data);
+		int index = int(long(leaf->data));
 
 		btCompoundShape* compoundShape = static_cast<btCompoundShape*>(m_compoundColObj->getCollisionShape());
 		btCollisionShape* childShape = compoundShape->getChildShape(index);





More information about the Bf-blender-cvs mailing list