Unstable 0.1500.0.0
This commit is contained in:
@@ -1034,6 +1034,7 @@ namespace FarseerPhysics.Dynamics
|
||||
body.DestroyProxies();
|
||||
for (int i = 0; i < body.FixtureList.Count; i++)
|
||||
{
|
||||
body.FixtureList[i].UserData = null;
|
||||
if (FixtureRemoved != null)
|
||||
FixtureRemoved(this, body, body.FixtureList[i]);
|
||||
}
|
||||
@@ -1041,6 +1042,8 @@ namespace FarseerPhysics.Dynamics
|
||||
body._world = null;
|
||||
BodyList.Remove(body);
|
||||
|
||||
body.UserData = null;
|
||||
|
||||
if (BodyRemoved != null)
|
||||
BodyRemoved(this, body);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user