aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorAlan M Webb2009-09-16 09:44:48 -0400
committerdr scofield (aka dirk husemann)2009-09-16 16:38:29 +0200
commit3b1ef2bfd2ea0ad3b14295ca03f6c3974bf6a189 (patch)
tree75fbcf6a8643f62d0007b3835c9c129b4ae94963 /OpenSim/Region/ScriptEngine/Shared
parent Stop a loaded OAR from generating on_rez events. This brings (diff)
downloadopensim-SC-3b1ef2bfd2ea0ad3b14295ca03f6c3974bf6a189.zip
opensim-SC-3b1ef2bfd2ea0ad3b14295ca03f6c3974bf6a189.tar.gz
opensim-SC-3b1ef2bfd2ea0ad3b14295ca03f6c3974bf6a189.tar.bz2
opensim-SC-3b1ef2bfd2ea0ad3b14295ca03f6c3974bf6a189.tar.xz
This fixes a boundary case error in the strided list
implementation. If the range included only a single item an empty list was always returned (has no-one been using this function?) Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 02befda..633cca8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5041,6 +5041,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5041 } 5041 }
5042 } 5042 }
5043 } 5043 }
5044 else
5045 {
5046 result.Add(src.Data[start]);
5047 }
5044 5048
5045 return result; 5049 return result;
5046 } 5050 }