diff options
author | Robert Adams | 2013-07-16 10:02:14 -0700 |
---|---|---|
committer | Robert Adams | 2013-07-22 10:27:24 -0700 |
commit | b44f0e1a00eba7f76401692322e48a3b23a81164 (patch) | |
tree | 96e44a80c97f35571116f120adf0e4d9c679b42e /OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | |
parent | BulletSim: change BSDynamics to expect to be passed a BSPrimLinkable (diff) | |
download | opensim-SC-b44f0e1a00eba7f76401692322e48a3b23a81164.zip opensim-SC-b44f0e1a00eba7f76401692322e48a3b23a81164.tar.gz opensim-SC-b44f0e1a00eba7f76401692322e48a3b23a81164.tar.bz2 opensim-SC-b44f0e1a00eba7f76401692322e48a3b23a81164.tar.xz |
BulletSim: Add logic to linksets to change physical properties for
whole linkset.
Override physical property setting for BSLinksetCompound as there are
not children to the compound spape.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActors.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActors.cs index fff63e4..e0ccc50 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 | Release(); | 72 | ForEachActor(a => a.Dispose()); |
73 | m_actors.Clear(); | 73 | m_actors.Clear(); |
74 | } | 74 | } |
75 | } | 75 | } |
@@ -98,10 +98,6 @@ 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 | } | ||
105 | public void Refresh() | 101 | public void Refresh() |
106 | { | 102 | { |
107 | ForEachActor(a => a.Refresh()); | 103 | ForEachActor(a => a.Refresh()); |