From fe86df0ec9582c61ad3a50b53a73398393b13c87 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Sun, 9 Aug 2015 15:34:06 -0700 Subject: BulletSim: update the motion actors so they completely clean themselves when Dispose() is called. This reduces chance of object leakage when destroying objects. Rearrange initialization and shut down of BSActorLockAxis so it is consistant with other actors. --- OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActors.cs') diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs index e0ccc50..7f45e2c 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs @@ -32,12 +32,10 @@ namespace OpenSim.Region.Physics.BulletSPlugin { public class BSActorCollection { - private BSScene m_physicsScene { get; set; } private Dictionary m_actors; - public BSActorCollection(BSScene physicsScene) + public BSActorCollection() { - m_physicsScene = physicsScene; m_actors = new Dictionary(); } public void Add(string name, BSActor actor) -- cgit v1.1