diff options
author | UbitUmarov | 2012-10-07 05:53:52 +0100 |
---|---|---|
committer | UbitUmarov | 2012-10-07 05:53:52 +0100 |
commit | 4efc90ef37a244ae859f4789d1abbc332723a6ad (patch) | |
tree | e7e6d83f10d164aed4aab6b50c671a8b9341234d /OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs | |
parent | [DANGER UNTESTED] ODE mesh assets. Other plugins will not do meshs/sculpts (diff) | |
download | opensim-SC-4efc90ef37a244ae859f4789d1abbc332723a6ad.zip opensim-SC-4efc90ef37a244ae859f4789d1abbc332723a6ad.tar.gz opensim-SC-4efc90ef37a244ae859f4789d1abbc332723a6ad.tar.bz2 opensim-SC-4efc90ef37a244ae859f4789d1abbc332723a6ad.tar.xz |
i update core ode plugin and make it load is meshs (i hope)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs index 7e3ec63..8d7d3b3 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs | |||
@@ -137,15 +137,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
137 | ODERayCastRequest[] reqs = m_PendingRequests.ToArray(); | 137 | ODERayCastRequest[] reqs = m_PendingRequests.ToArray(); |
138 | for (int i = 0; i < reqs.Length; i++) | 138 | for (int i = 0; i < reqs.Length; i++) |
139 | { | 139 | { |
140 | try | 140 | if (reqs[i].callbackMethod != null) // quick optimization here, don't raycast |
141 | { | 141 | RayCast(reqs[i]); // if there isn't anyone to send results |
142 | if (reqs[i].callbackMethod != null) // quick optimization here, don't raycast | ||
143 | RayCast(reqs[i]); // if there isn't anyone to send results | ||
144 | } | ||
145 | catch | ||
146 | { | ||
147 | //Fail silently | ||
148 | } | ||
149 | } | 142 | } |
150 | 143 | ||
151 | m_PendingRequests.Clear(); | 144 | m_PendingRequests.Clear(); |