(6eeea9b7c) v0.9.10.0.0

This commit is contained in:
Joonas Rikkonen
2020-06-04 16:41:07 +03:00
parent ce4ccd99ac
commit eeac247a8e
366 changed files with 7772 additions and 3692 deletions
@@ -664,7 +664,7 @@ namespace FarseerPhysics.Dynamics
}
}
if (Enabled)
if (Enabled && World != null)
{
IBroadPhase broadPhase = World.ContactManager.BroadPhase;
fixture.DestroyProxies(broadPhase);
@@ -677,7 +677,7 @@ namespace FarseerPhysics.Dynamics
((PolygonShape)fixture.Shape).Vertices.AttachedToBody = false;
#endif
if (World.FixtureRemoved != null)
if (World?.FixtureRemoved != null)
World.FixtureRemoved(World, this, fixture);
ResetMassData();