diff options
author | Robert Adams | 2015-08-09 15:34:06 -0700 |
---|---|---|
committer | Robert Adams | 2015-08-09 15:34:06 -0700 |
commit | fe86df0ec9582c61ad3a50b53a73398393b13c87 (patch) | |
tree | 007e1af42f2cb1f885fa00b32dda004312e38dee /OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |
parent | Corrected spelling of SQLITE. Fixes mantis #7675. (diff) | |
download | opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.zip opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.gz opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.bz2 opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActors.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | 4 |
1 files changed, 1 insertions, 3 deletions
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 | |||
32 | { | 32 | { |
33 | public class BSActorCollection | 33 | public class BSActorCollection |
34 | { | 34 | { |
35 | private BSScene m_physicsScene { get; set; } | ||
36 | private Dictionary<string, BSActor> m_actors; | 35 | private Dictionary<string, BSActor> m_actors; |
37 | 36 | ||
38 | public BSActorCollection(BSScene physicsScene) | 37 | public BSActorCollection() |
39 | { | 38 | { |
40 | m_physicsScene = physicsScene; | ||
41 | m_actors = new Dictionary<string, BSActor>(); | 39 | m_actors = new Dictionary<string, BSActor>(); |
42 | } | 40 | } |
43 | public void Add(string name, BSActor actor) | 41 | public void Add(string name, BSActor actor) |