From ba0365a42780ac986866701b080348c65da45f32 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 2 Mar 2012 16:47:39 +0100 Subject: [PATCH] collision shape scale fix --- apps/openmw/mwworld/physicssystem.cpp | 2 +- libs/openengine | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwworld/physicssystem.cpp b/apps/openmw/mwworld/physicssystem.cpp index b0da4524e..bb2f9f8a9 100644 --- a/apps/openmw/mwworld/physicssystem.cpp +++ b/apps/openmw/mwworld/physicssystem.cpp @@ -120,7 +120,7 @@ namespace MWWorld void PhysicsSystem::addObject (const std::string& handle, const std::string& mesh, const Ogre::Quaternion& rotation, float scale, const Ogre::Vector3& position) { - OEngine::Physic::RigidBody* body = mEngine->createRigidBody(mesh,handle); + OEngine::Physic::RigidBody* body = mEngine->createRigidBody(mesh,handle,scale); mEngine->addRigidBody(body); btTransform tr; tr.setOrigin(btVector3(position.x,position.y,position.z)); diff --git a/libs/openengine b/libs/openengine index 21b845645..5aabf22c1 160000 --- a/libs/openengine +++ b/libs/openengine @@ -1 +1 @@ -Subproject commit 21b8456453242e132c85f92047cf9bce535c1b22 +Subproject commit 5aabf22c16dab6a2230845f90fe5fdf67eeeca32