aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs1
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs6
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs11
3 files changed, 12 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index 4cc8c59..c26595c 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -1225,7 +1225,6 @@ namespace OpenSim.Region.Physics.OdePlugin
1225 1225
1226 public override float APIDDamping{ set { return; } } 1226 public override float APIDDamping{ set { return; } }
1227 1227
1228
1229 public override void SubscribeEvents(int ms) 1228 public override void SubscribeEvents(int ms)
1230 { 1229 {
1231 m_requestedUpdateFrequency = ms; 1230 m_requestedUpdateFrequency = ms;
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index ac92b8b..8ad0b7f 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -600,8 +600,8 @@ namespace OpenSim.Region.Physics.OdePlugin
600 break; 600 break;
601 601
602 case HollowShape.Circle: 602 case HollowShape.Circle:
603 // Hollow shape is a perfect cyllinder in respect to the cube's scale 603 // Hollow shape is a perfect cylinder in respect to the cube's scale
604 // Cyllinder hollow volume calculation 604 // Cylinder hollow volume calculation
605 605
606 hollowVolume *= 0.1963495f * 3.07920140172638f; 606 hollowVolume *= 0.1963495f * 3.07920140172638f;
607 break; 607 break;
@@ -2808,7 +2808,7 @@ Console.WriteLine(" JointCreateFixed");
2808 } 2808 }
2809 public override bool PIDActive { set { m_usePID = value; } } 2809 public override bool PIDActive { set { m_usePID = value; } }
2810 public override float PIDTau { set { m_PIDTau = value; } } 2810 public override float PIDTau { set { m_PIDTau = value; } }
2811 2811
2812 public override float PIDHoverHeight { set { m_PIDHoverHeight = value; ; } } 2812 public override float PIDHoverHeight { set { m_PIDHoverHeight = value; ; } }
2813 public override bool PIDHoverActive { set { m_useHoverPID = value; } } 2813 public override bool PIDHoverActive { set { m_useHoverPID = value; } }
2814 public override PIDHoverType PIDHoverType { set { m_PIDHoverType = value; } } 2814 public override PIDHoverType PIDHoverType { set { m_PIDHoverType = value; } }
diff --git a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
index 6c2bdde..9d7aa94 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
@@ -137,8 +137,15 @@ 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 if (reqs[i].callbackMethod != null) // quick optimization here, don't raycast 140 try
141 RayCast(reqs[i]); // if there isn't anyone to send results 141 {
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 }
142 } 149 }
143 150
144 m_PendingRequests.Clear(); 151 m_PendingRequests.Clear();