mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
53c3df16e5
@ -480,7 +480,7 @@ namespace Physic
|
|||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
bool needDelete = false;
|
bool needDelete = false;
|
||||||
if (btBvhTriangleMeshShape* triangleShape = dynamic_cast<btBvhTriangleMeshShape*>(shape->mCollisionShape))
|
if (btBvhTriangleMeshShape* triangleShape = dynamic_cast<btBvhTriangleMeshShape*>(collisionShape))
|
||||||
{
|
{
|
||||||
btScaledBvhTriangleMeshShape* scaled = new btScaledBvhTriangleMeshShape(triangleShape, btVector3(scale,scale,scale));
|
btScaledBvhTriangleMeshShape* scaled = new btScaledBvhTriangleMeshShape(triangleShape, btVector3(scale,scale,scale));
|
||||||
collisionShape = scaled;
|
collisionShape = scaled;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user