aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie2012-08-31 00:34:22 +0100
committerMelanie2012-08-31 00:34:22 +0100
commitfd92560649cc9dd34b7b9a8dfabccf7582661a64 (patch)
tree97cc0a6aef597f014bafe62022c2619570f134fa /OpenSim/Region/ScriptEngine
parentMerge branch 'master' into careminster (diff)
parentMerge branch 'ubitwork' into avination (diff)
downloadopensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.zip
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.gz
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.bz2
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.xz
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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;