aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenSim.Framework')
-rw-r--r--Common/OpenSim.Framework/Types/AgentCiruitData.cs1
-rw-r--r--Common/OpenSim.Framework/Types/Login.cs1
-rw-r--r--Common/OpenSim.Framework/Util.cs8
3 files changed, 10 insertions, 0 deletions
diff --git a/Common/OpenSim.Framework/Types/AgentCiruitData.cs b/Common/OpenSim.Framework/Types/AgentCiruitData.cs
index cfac9ba..a650343 100644
--- a/Common/OpenSim.Framework/Types/AgentCiruitData.cs
+++ b/Common/OpenSim.Framework/Types/AgentCiruitData.cs
@@ -45,5 +45,6 @@ namespace OpenSim.Framework.Types
45 public bool child; 45 public bool child;
46 public LLUUID InventoryFolder; 46 public LLUUID InventoryFolder;
47 public LLUUID BaseFolder; 47 public LLUUID BaseFolder;
48 public string CapsPath = "";
48 } 49 }
49} 50}
diff --git a/Common/OpenSim.Framework/Types/Login.cs b/Common/OpenSim.Framework/Types/Login.cs
index 992d665..3180a16 100644
--- a/Common/OpenSim.Framework/Types/Login.cs
+++ b/Common/OpenSim.Framework/Types/Login.cs
@@ -42,6 +42,7 @@ namespace OpenSim.Framework.Types
42 public LLUUID InventoryFolder; 42 public LLUUID InventoryFolder;
43 public LLUUID BaseFolder; 43 public LLUUID BaseFolder;
44 public uint CircuitCode; 44 public uint CircuitCode;
45 public string CapsPath ="";
45 46
46 public Login() 47 public Login()
47 { 48 {
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);