aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs37
1 files changed, 1 insertions, 36 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 1a3b6ce..09be26a 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2874,42 +2874,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2874 public LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending) 2874 public LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending)
2875 { 2875 {
2876 m_host.AddScriptLPS(1); 2876 m_host.AddScriptLPS(1);
2877 // SortedList<string, LSL_Types.list> sorted = new SortedList<string, LSL_Types.list>(); 2877 return src.Sort(stride, ascending);
2878 // Add chunks to an array
2879 //int s = stride;
2880 //if (s < 1)
2881 // s = 1;
2882 //int c = 0;
2883 //LSL_Types.list chunk = new LSL_Types.list();
2884 //string chunkString = String.Empty;
2885 //foreach (string element in src)
2886 //{
2887 // c++;
2888 // if (c > s)
2889 // {
2890 // sorted.Add(chunkString, chunk);
2891 // chunkString = String.Empty;
2892 // chunk = new LSL_Types.list();
2893 // c = 0;
2894 // }
2895 // chunk.Add(element);
2896 // chunkString += element.ToString();
2897 //}
2898 //if (chunk.Count > 0)
2899 // sorted.Add(chunkString, chunk);
2900
2901 //LSL_Types.list ret = new LSL_Types.list();
2902 //foreach (LSL_Types.list ls in sorted.Values)
2903 //{
2904 // ret.AddRange(ls);
2905 //}
2906
2907 //if (ascending == LSL_BaseClass.TRUE)
2908 // return ret;
2909 //ret.Reverse();
2910 //return ret;
2911 NotImplemented("llListSort");
2912 return new LSL_Types.list();
2913 } 2878 }
2914 2879
2915 public int llGetListLength(LSL_Types.list src) 2880 public int llGetListLength(LSL_Types.list src)