aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-12-08 11:28:13 -0500
committerTeravus Ovares (Dan Olivares)2009-12-08 11:28:13 -0500
commit2f8b9cbf2b6da9e3914ce898e64b27894c5259a8 (patch)
treebab193e65e1feeeeb67bad1e47eb72f1f3a41369 /OpenSim/Region/Physics/OdePlugin
parentSame for the remote auth connector (diff)
downloadopensim-SC_OLD-2f8b9cbf2b6da9e3914ce898e64b27894c5259a8.zip
opensim-SC_OLD-2f8b9cbf2b6da9e3914ce898e64b27894c5259a8.tar.gz
opensim-SC_OLD-2f8b9cbf2b6da9e3914ce898e64b27894c5259a8.tar.bz2
opensim-SC_OLD-2f8b9cbf2b6da9e3914ce898e64b27894c5259a8.tar.xz
* Commit some sit code that's commented out for now.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
index 732e835..7314107 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
@@ -106,13 +106,20 @@ namespace OpenSim.Region.Physics.OdePlugin
106 { 106 {
107 if (m_PendingRequests.Count > 0) 107 if (m_PendingRequests.Count > 0)
108 { 108 {
109 ODERayCastRequest[] reqs = m_PendingRequests.ToArray();
110 for (int i = 0; i < reqs.Length; i++)
111 {
112 if (reqs[i].callbackMethod != null) // quick optimization here, don't raycast
113 RayCast(reqs[i]); // if there isn't anyone to send results
114 }
115 /*
109 foreach (ODERayCastRequest req in m_PendingRequests) 116 foreach (ODERayCastRequest req in m_PendingRequests)
110 { 117 {
111 if (req.callbackMethod != null) // quick optimization here, don't raycast 118 if (req.callbackMethod != null) // quick optimization here, don't raycast
112 RayCast(req); // if there isn't anyone to send results to 119 RayCast(req); // if there isn't anyone to send results to
113 120
114 } 121 }
115 122 */
116 m_PendingRequests.Clear(); 123 m_PendingRequests.Clear();
117 } 124 }
118 } 125 }