diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/Assets/AssetCache.cs | 2 | ||||
-rw-r--r-- | OpenSim.RegionServer/OpenSimMain.cs | 4 | ||||
-rw-r--r-- | OpenSim.RegionServer/RegionInfo.cs | 13 |
3 files changed, 15 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/Assets/AssetCache.cs b/OpenSim.RegionServer/Assets/AssetCache.cs index e217d78..e8bf292 100644 --- a/OpenSim.RegionServer/Assets/AssetCache.cs +++ b/OpenSim.RegionServer/Assets/AssetCache.cs | |||
@@ -96,7 +96,7 @@ namespace OpenSim.Assets | |||
96 | { | 96 | { |
97 | //hack: so we can give each user a set of textures | 97 | //hack: so we can give each user a set of textures |
98 | textureList[0] = new LLUUID("00000000-0000-0000-9999-000000000001"); | 98 | textureList[0] = new LLUUID("00000000-0000-0000-9999-000000000001"); |
99 | textureList[1] = new LLUUID("00000000-0000-0000-9999-000000000002"); | 99 | textureList[1] = new LLUUID("00000000-0000-0000-9999-000000000002"); |
100 | textureList[2] = new LLUUID("00000000-0000-0000-9999-000000000003"); | 100 | textureList[2] = new LLUUID("00000000-0000-0000-9999-000000000003"); |
101 | textureList[3] = new LLUUID("00000000-0000-0000-9999-000000000004"); | 101 | textureList[3] = new LLUUID("00000000-0000-0000-9999-000000000004"); |
102 | textureList[4] = new LLUUID("00000000-0000-0000-9999-000000000005"); | 102 | textureList[4] = new LLUUID("00000000-0000-0000-9999-000000000005"); |
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs index fa13064..fc604b7 100644 --- a/OpenSim.RegionServer/OpenSimMain.cs +++ b/OpenSim.RegionServer/OpenSimMain.cs | |||
@@ -130,7 +130,7 @@ namespace OpenSim | |||
130 | GridServers = new Grid(); | 130 | GridServers = new Grid(); |
131 | if (m_sandbox) | 131 | if (m_sandbox) |
132 | { | 132 | { |
133 | GridServers.AssetDll = "OpenSim.GridInterfaces.Local.dll"; | 133 | GridServers.AssetDll = "OpenSim.GridInterfaces.Local.dll"; |
134 | GridServers.GridDll = "OpenSim.GridInterfaces.Local.dll"; | 134 | GridServers.GridDll = "OpenSim.GridInterfaces.Local.dll"; |
135 | 135 | ||
136 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Starting in Sandbox mode"); | 136 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Starting in Sandbox mode"); |
@@ -177,7 +177,7 @@ namespace OpenSim | |||
177 | 177 | ||
178 | 178 | ||
179 | //should be passing a IGenericConfig object to these so they can read the config data they want from it | 179 | //should be passing a IGenericConfig object to these so they can read the config data they want from it |
180 | GridServers.AssetServer.SetServerInfo(regionData.AssetURL, regionData.AssetSendKey); | 180 | GridServers.AssetServer.SetServerInfo(regionData.AssetURL, regionData.AssetSendKey); |
181 | IGridServer gridServer = GridServers.GridServer; | 181 | IGridServer gridServer = GridServers.GridServer; |
182 | gridServer.SetServerInfo(regionData.GridURL, regionData.GridSendKey, regionData.GridRecvKey); | 182 | gridServer.SetServerInfo(regionData.GridURL, regionData.GridSendKey, regionData.GridRecvKey); |
183 | 183 | ||
diff --git a/OpenSim.RegionServer/RegionInfo.cs b/OpenSim.RegionServer/RegionInfo.cs index edab1e5..2707257 100644 --- a/OpenSim.RegionServer/RegionInfo.cs +++ b/OpenSim.RegionServer/RegionInfo.cs | |||
@@ -25,7 +25,7 @@ namespace OpenSim | |||
25 | 25 | ||
26 | //following should be removed and the GenericConfig object passed around, | 26 | //following should be removed and the GenericConfig object passed around, |
27 | //so each class (AssetServer, GridServer etc) can access what config data they want | 27 | //so each class (AssetServer, GridServer etc) can access what config data they want |
28 | public string AssetURL = ""; | 28 | public string AssetURL = "http://127.0.0.1:8003/"; |
29 | public string AssetSendKey = ""; | 29 | public string AssetSendKey = ""; |
30 | 30 | ||
31 | public string GridURL = ""; | 31 | public string GridURL = ""; |
@@ -230,6 +230,17 @@ namespace OpenSim | |||
230 | this.GridRecvKey = attri; | 230 | this.GridRecvKey = attri; |
231 | } | 231 | } |
232 | 232 | ||
233 | attri = ""; | ||
234 | attri = configData.GetAttribute("AssetServerURL"); | ||
235 | if (attri == "") | ||
236 | { | ||
237 | this.AssetURL = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Asset server URL", "http://127.0.0.1:8003/"); | ||
238 | configData.SetAttribute("AssetServerURL", this.GridURL); | ||
239 | } | ||
240 | else | ||
241 | { | ||
242 | this.AssetURL = attri; | ||
243 | } | ||
233 | 244 | ||
234 | } | 245 | } |
235 | this.RegionHandle = Util.UIntsToLong((RegionLocX * 256), (RegionLocY * 256)); | 246 | this.RegionHandle = Util.UIntsToLong((RegionLocX * 256), (RegionLocY * 256)); |