aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 23:44:16 +0000
committerJustin Clark-Casey (justincc)2013-03-14 23:44:16 +0000
commit081271e1d7fbf18c918a676d17b40edc8b0b6bfb (patch)
treec34ca9bb3fef421e3449c40a56b860624cef8342 /OpenSim/Region
parentLog same environment information to Robust log as is already done for simulat... (diff)
downloadopensim-SC_OLD-081271e1d7fbf18c918a676d17b40edc8b0b6bfb.zip
opensim-SC_OLD-081271e1d7fbf18c918a676d17b40edc8b0b6bfb.tar.gz
opensim-SC_OLD-081271e1d7fbf18c918a676d17b40edc8b0b6bfb.tar.bz2
opensim-SC_OLD-081271e1d7fbf18c918a676d17b40edc8b0b6bfb.tar.xz
minor: remove mono compiler warnings in LSL_Api.cs
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3885ba6..cf16571 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5707,8 +5707,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5707 } 5707 }
5708 5708
5709 ILandObject land; 5709 ILandObject land;
5710 Vector3 pos;
5711 UUID id = UUID.Zero; 5710 UUID id = UUID.Zero;
5711
5712 if (parcel || parcelOwned) 5712 if (parcel || parcelOwned)
5713 { 5713 {
5714 land = World.LandChannel.GetLandObject(m_host.ParentGroup.RootPart.GetWorldPosition()); 5714 land = World.LandChannel.GetLandObject(m_host.ParentGroup.RootPart.GetWorldPosition());
@@ -11028,7 +11028,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
11028 World.ForEachScenePresence(delegate(ScenePresence sp) 11028 World.ForEachScenePresence(delegate(ScenePresence sp)
11029 { 11029 {
11030 Vector3 ac = sp.AbsolutePosition - rayStart; 11030 Vector3 ac = sp.AbsolutePosition - rayStart;
11031 Vector3 bc = sp.AbsolutePosition - rayEnd; 11031// Vector3 bc = sp.AbsolutePosition - rayEnd;
11032 11032
11033 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); 11033 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd));
11034 11034
@@ -11118,7 +11118,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
11118 radius = Math.Abs(maxZ); 11118 radius = Math.Abs(maxZ);
11119 radius = radius*1.413f; 11119 radius = radius*1.413f;
11120 Vector3 ac = group.AbsolutePosition - rayStart; 11120 Vector3 ac = group.AbsolutePosition - rayStart;
11121 Vector3 bc = group.AbsolutePosition - rayEnd; 11121// Vector3 bc = group.AbsolutePosition - rayEnd;
11122 11122
11123 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd)); 11123 double d = Math.Abs(Vector3.Mag(Vector3.Cross(ab, ac)) / Vector3.Distance(rayStart, rayEnd));
11124 11124