Merge remote-tracking branch 'origin/master'

pull/568/head
Marc Zinnschlag 10 years ago
commit 53c3df16e5

@ -480,7 +480,7 @@ namespace Physic
//#endif
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));
collisionShape = scaled;

Loading…
Cancel
Save