aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
diff options
context:
space:
mode:
authorRobert Adams2013-08-16 13:44:31 -0700
committerRobert Adams2013-09-11 09:11:58 -0700
commite1120cb74db9092cc0f9a7fc245d2f2ed6160b7a (patch)
tree033512ed6bb67408767671a7538000dafc205fb7 /OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
parentBulletSim: update DLLs and SOs with Bullet svn version 2644 (no major fixes) ... (diff)
downloadopensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.zip
opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.gz
opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.bz2
opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.xz
BulletSim: add extended physics function physGetLinkType(linkNum). Add implementation of physChangeLinkParams() in BSLinksetConstraint.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
index 2058e3a..77f69a5 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
@@ -209,6 +209,17 @@ public abstract class BSLinkset
209 return ret; 209 return ret;
210 } 210 }
211 211
212 public bool TryGetLinkInfo(BSPrimLinkable child, out BSLinkInfo foundInfo)
213 {
214 bool ret = false;
215 BSLinkInfo found = null;
216 lock (m_linksetActivityLock)
217 {
218 ret = m_children.TryGetValue(child, out found);
219 }
220 foundInfo = found;
221 return ret;
222 }
212 // Perform an action on each member of the linkset including root prim. 223 // Perform an action on each member of the linkset including root prim.
213 // Depends on the action on whether this should be done at taint time. 224 // Depends on the action on whether this should be done at taint time.
214 public delegate bool ForEachLinkInfoAction(BSLinkInfo obj); 225 public delegate bool ForEachLinkInfoAction(BSLinkInfo obj);