diff options
author | Robert Adams | 2013-07-22 12:07:42 -0700 |
---|---|---|
committer | Robert Adams | 2013-07-22 12:07:42 -0700 |
commit | 84d0699761b8da546f9faef084240d7b15f16321 (patch) | |
tree | 3710604cbb3d3db2d7207ca85abcd9bb8cc87e51 /OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |
parent | BulletSim: Add logic to linksets to change physical properties for (diff) | |
download | opensim-SC_OLD-84d0699761b8da546f9faef084240d7b15f16321.zip opensim-SC_OLD-84d0699761b8da546f9faef084240d7b15f16321.tar.gz opensim-SC_OLD-84d0699761b8da546f9faef084240d7b15f16321.tar.bz2 opensim-SC_OLD-84d0699761b8da546f9faef084240d7b15f16321.tar.xz |
Revert "BulletSim: Add logic to linksets to change physical properties for"
The changes don't seem to be ready for prime time.
This reverts commit b44f0e1a00eba7f76401692322e48a3b23a81164.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActors.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs index e0ccc50..fff63e4 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |||
@@ -69,7 +69,7 @@ public class BSActorCollection | |||
69 | { | 69 | { |
70 | lock (m_actors) | 70 | lock (m_actors) |
71 | { | 71 | { |
72 | ForEachActor(a => a.Dispose()); | 72 | Release(); |
73 | m_actors.Clear(); | 73 | m_actors.Clear(); |
74 | } | 74 | } |
75 | } | 75 | } |
@@ -98,6 +98,10 @@ public class BSActorCollection | |||
98 | { | 98 | { |
99 | ForEachActor(a => a.SetEnabled(enabl)); | 99 | ForEachActor(a => a.SetEnabled(enabl)); |
100 | } | 100 | } |
101 | public void Release() | ||
102 | { | ||
103 | ForEachActor(a => a.Dispose()); | ||
104 | } | ||
101 | public void Refresh() | 105 | public void Refresh() |
102 | { | 106 | { |
103 | ForEachActor(a => a.Refresh()); | 107 | ForEachActor(a => a.Refresh()); |