aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework/Util.cs
diff options
context:
space:
mode:
authorMW2007-06-23 11:14:58 +0000
committerMW2007-06-23 11:14:58 +0000
commit303ea70efad0ba703743f4a5b9812250c314c2d4 (patch)
tree47d6a28ef7b026ed0e0fd39619b1bacc6fe3ba55 /Common/OpenSim.Framework/Util.cs
parentDeleted some comments being wrote to console (diff)
downloadopensim-SC-303ea70efad0ba703743f4a5b9812250c314c2d4.zip
opensim-SC-303ea70efad0ba703743f4a5b9812250c314c2d4.tar.gz
opensim-SC-303ea70efad0ba703743f4a5b9812250c314c2d4.tar.bz2
opensim-SC-303ea70efad0ba703743f4a5b9812250c314c2d4.tar.xz
More work on CAPS handler.
Diffstat (limited to '')
-rw-r--r--Common/OpenSim.Framework/Util.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Common/OpenSim.Framework/Util.cs b/Common/OpenSim.Framework/Util.cs
index 10e3fdf..8c34c9b 100644
--- a/Common/OpenSim.Framework/Util.cs
+++ b/Common/OpenSim.Framework/Util.cs
@@ -81,6 +81,14 @@ namespace OpenSim.Framework.Utilities
81 return sb.ToString(); 81 return sb.ToString();
82 } 82 }
83 83
84 public static string GetRandomCapsPath()
85 {
86 LLUUID caps = LLUUID.Random();
87 string capsPath = caps.ToStringHyphenated();
88 capsPath = capsPath.Remove(capsPath.Length - 4, 4);
89 return capsPath;
90 }
91
84 //public static int fast_distance2d(int x, int y) 92 //public static int fast_distance2d(int x, int y)
85 //{ 93 //{
86 // x = System.Math.Abs(x); 94 // x = System.Math.Abs(x);