aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 17:27:04 +0000
committerJustin Clarke Casey2009-01-06 17:27:04 +0000
commitb1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2 (patch)
treea8b3e4dc31294e0d9507dcdbd0bfae5e1a42145c /OpenSim/Framework
parent* Remove unused CAPSService (diff)
downloadopensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.zip
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.gz
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.bz2
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.xz
* minor: Move GetRandomCapsPath() to a CapsUtil class
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 396996a..8e7eac7 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -334,14 +334,6 @@ namespace OpenSim.Framework
334 return sb.ToString(); 334 return sb.ToString();
335 } 335 }
336 336
337 public static string GetRandomCapsPath()
338 {
339 UUID caps = UUID.Random();
340 string capsPath = caps.ToString();
341 capsPath = capsPath.Remove(capsPath.Length - 4, 4);
342 return capsPath;
343 }
344
345 public static int fast_distance2d(int x, int y) 337 public static int fast_distance2d(int x, int y)
346 { 338 {
347 x = Math.Abs(x); 339 x = Math.Abs(x);