Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/Physics/BlOde/OdePhysicsController.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/gameengine/Physics/BlOde/OdePhysicsController.cpp b/source/gameengine/Physics/BlOde/OdePhysicsController.cpp
index 0686893f38c..4dee694bcd7 100644
--- a/source/gameengine/Physics/BlOde/OdePhysicsController.cpp
+++ b/source/gameengine/Physics/BlOde/OdePhysicsController.cpp
@@ -378,7 +378,6 @@ bool ODEPhysicsController::SynchronizeMotionStates(float time)
-
// kinematic methods
void ODEPhysicsController::RelativeTranslate(float dlocX,float dlocY,float dlocZ,bool local)
{
@@ -474,7 +473,7 @@ void ODEPhysicsController::SetLinearVelocity(float lin_velX,float lin_velY,float
{
if (m_OdeDyna)
{
- dVector3 vel = {lin_velX,lin_velY,lin_velZ};
+ dVector3 vel = {lin_velX,lin_velY,lin_velZ, 1.0};
if (local)
{
dMatrix3 worldmat;
@@ -610,6 +609,3 @@ void ODEPhysicsController::WriteMotionStateToDynamics(bool nondynaonly)
{
}
-
-
-