mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 08:45:39 +00:00
parent
53c3df16e5
commit
e4ffb985a1
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ namespace Physic
|
|||
//#endif
|
||||
|
||||
bool needDelete = false;
|
||||
if (btBvhTriangleMeshShape* triangleShape = dynamic_cast<btBvhTriangleMeshShape*>(collisionShape))
|
||||
if (btBvhTriangleMeshShape* triangleShape = dynamic_cast<btBvhTriangleMeshShape*>(shape->mCollisionShape))
|
||||
{
|
||||
btScaledBvhTriangleMeshShape* scaled = new btScaledBvhTriangleMeshShape(triangleShape, btVector3(scale,scale,scale));
|
||||
collisionShape = scaled;
|
||||
|
|
Loading…
Reference in a new issue