aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorubit2012-06-28 13:26:46 +0200
committerubit2012-06-28 13:26:46 +0200
commit46d1ea9e9747b8b07dfb4012fea839478296d96c (patch)
tree1344bc5690d498e256a81306a17465bc0904a1c9 /OpenSim/Region
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent reactivate physics raycasts on llCastRay() until it's clear what is its prob... (diff)
downloadopensim-SC_OLD-46d1ea9e9747b8b07dfb4012fea839478296d96c.zip
opensim-SC_OLD-46d1ea9e9747b8b07dfb4012fea839478296d96c.tar.gz
opensim-SC_OLD-46d1ea9e9747b8b07dfb4012fea839478296d96c.tar.bz2
opensim-SC_OLD-46d1ea9e9747b8b07dfb4012fea839478296d96c.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs3
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs2
4 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
index f4cf6b4..a701b46 100644
--- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
@@ -508,7 +508,8 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
508 } 508 }
509 else 509 else
510 { 510 {
511 m_log.Warn("[HttpRequestHandler]: http-in request failed; no such url: "+urlkey.ToString()); 511 //m_log.Warn("[HttpRequestHandler]: http-in request failed; no such url: "+urlkey.ToString());
512 return;
512 } 513 }
513 514
514 //for llGetHttpHeader support we need to store original URI here 515 //for llGetHttpHeader support we need to store original URI here
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a068aab..4940063 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3570,7 +3570,8 @@ namespace OpenSim.Region.Framework.Scenes
3570 // m_reprioritizationTimer.Dispose(); 3570 // m_reprioritizationTimer.Dispose();
3571 3571
3572 RemoveFromPhysicalScene(); 3572 RemoveFromPhysicalScene();
3573 Animator.Close(); 3573 if(Animator != null)
3574 Animator.Close();
3574 Animator = null; 3575 Animator = null;
3575 } 3576 }
3576 3577
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 05adf8e..f475b99 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -12416,9 +12416,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12416 12416
12417 ContactResult result = new ContactResult (); 12417 ContactResult result = new ContactResult ();
12418 result.ConsumerID = group.LocalId; 12418 result.ConsumerID = group.LocalId;
12419 result.Depth = intersection.distance; 12419// result.Depth = intersection.distance;
12420 result.Normal = intersection.normal; 12420 result.Normal = intersection.normal;
12421 result.Pos = intersection.ipoint; 12421 result.Pos = intersection.ipoint;
12422 result.Depth = Vector3.Mag(rayStart - result.Pos);
12422 12423
12423 contacts.Add(result); 12424 contacts.Add(result);
12424 }); 12425 });
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index 278f74e..ad4f70c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -667,7 +667,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
667 667
668 public static readonly LSLInteger RCERR_UNKNOWN = -1; 668 public static readonly LSLInteger RCERR_UNKNOWN = -1;
669 public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; 669 public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2;
670 public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; 670 public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = -3;
671 671
672 public const int KFM_MODE = 1; 672 public const int KFM_MODE = 1;
673 public const int KFM_LOOP = 1; 673 public const int KFM_LOOP = 1;