aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 6 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 61e8a28..4335592 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5442,7 +5442,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5442 // for completion and should LSL_Key ever be implemented 5442 // for completion and should LSL_Key ever be implemented
5443 // as it's own struct 5443 // as it's own struct
5444 else if (!(src.Data[index] is LSL_String || 5444 else if (!(src.Data[index] is LSL_String ||
5445 src.Data[index] is LSL_Key)) 5445 src.Data[index] is LSL_Key ||
5446 src.Data[index] is String))
5446 { 5447 {
5447 return ""; 5448 return "";
5448 } 5449 }
@@ -7750,6 +7751,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7750 foreach (ScenePresence p in avatars) 7751 foreach (ScenePresence p in avatars)
7751 parts.Add(p); 7752 parts.Add(p);
7752 7753
7754 remaining = null;
7753 foreach (object part in parts) 7755 foreach (object part in parts)
7754 { 7756 {
7755 if (part is SceneObjectPart) 7757 if (part is SceneObjectPart)
@@ -12379,7 +12381,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12379 public void llCollisionSprite(string impact_sprite) 12381 public void llCollisionSprite(string impact_sprite)
12380 { 12382 {
12381 m_host.AddScriptLPS(1); 12383 m_host.AddScriptLPS(1);
12382 NotImplemented("llCollisionSprite"); 12384 // Viewer 2.0 broke this and it's likely LL has no intention
12385 // of fixing it. Therefore, letting this be a NOP seems appropriate.
12383 } 12386 }
12384 12387
12385 public void llGodLikeRezObject(string inventory, LSL_Vector pos) 12388 public void llGodLikeRezObject(string inventory, LSL_Vector pos)
@@ -12524,7 +12527,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12524 if (frames.Data.Length > 0) // We are getting a new motion 12527 if (frames.Data.Length > 0) // We are getting a new motion
12525 { 12528 {
12526 if (group.RootPart.KeyframeMotion != null) 12529 if (group.RootPart.KeyframeMotion != null)
12527 group.RootPart.KeyframeMotion.Stop(); 12530 group.RootPart.KeyframeMotion.Delete();
12528 group.RootPart.KeyframeMotion = null; 12531 group.RootPart.KeyframeMotion = null;
12529 12532
12530 int idx = 0; 12533 int idx = 0;