[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14441] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsEnvironment.cpp: BGE: Fix restitution: object will now bounce according to material restitution setting
Benoit Bolsee
benoit.bolsee at online.be
Wed Apr 16 20:47:36 CEST 2008
Revision: 14441
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14441
Author: ben2610
Date: 2008-04-16 20:47:36 +0200 (Wed, 16 Apr 2008)
Log Message:
-----------
BGE: Fix restitution: object will now bounce according to material restitution setting
Modified Paths:
--------------
trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp
Modified: trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp
===================================================================
--- trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp 2008-04-16 17:53:09 UTC (rev 14440)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp 2008-04-16 18:47:36 UTC (rev 14441)
@@ -581,7 +581,7 @@
{
m_solver = new btSequentialImpulseConstraintSolver();
-
+ ((btSequentialImpulseConstraintSolver*)m_solver)->setSolverMode(btSequentialImpulseConstraintSolver::SOLVER_USE_WARMSTARTING | btSequentialImpulseConstraintSolver::SOLVER_RANDMIZE_ORDER);
break;
}
}
More information about the Bf-blender-cvs
mailing list