Blender Git Loki

Git Commits -> Revision 4d8f7ed

Revision 4d8f7ed by Porteries Tristan (master)
May 10, 2015, 17:21 (GMT)
BGE : Fix crash during physics mesh update.

Currently we can't update the physics mesh of an added rigid body.
The cause is that that we need to update all shapes to say that the mesh was changed, for static object we don't do that previously because we use a odd way to reallocate memory at the same place.
So now when a mesh is changed we iterate all physics controllers which use the same shape info and recreate its shape with the correct mesh.

example file : {F168100}

Reviewers: scorpion81, sergof, hg1, sybren, moguri, agoose77

Reviewed By: moguri, agoose77

Subscribers: sybren

Differential Revision:

Commit Details:

Full Hash: 4d8f7eddda0f34f5e801d7a8a45a41b0aa945a6d
Parent Commit: 2ec221a
Lines Changed: +117, -135

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020