aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
authorMW2007-04-17 13:39:21 +0000
committerMW2007-04-17 13:39:21 +0000
commit631d30b80dbffd786df64155510d01b0c0cb6da2 (patch)
tree3f18c6136d37e3cb6f63c36eb642686c079a9ee9 /OpenSim.RegionServer/OpenSimMain.cs
parentHopefully undid the murder I committed in the last commit (diff)
downloadopensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.zip
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.gz
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.bz2
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.xz
Yet another command line option (really need to get all these moved into a config file), this one: "-localasset" (without the quotes) is a temporary hack to use a local asset server when in grid mode. (use with extreme caution if you have more than one sim in a grid)
Diffstat (limited to 'OpenSim.RegionServer/OpenSimMain.cs')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index ea6088b..48eff1b 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -83,6 +83,7 @@ namespace OpenSim
83 public bool m_sandbox = false; 83 public bool m_sandbox = false;
84 public bool m_loginserver; 84 public bool m_loginserver;
85 public bool user_accounts = false; 85 public bool user_accounts = false;
86 public bool gridLocalAsset = false;
86 87
87 protected ConsoleBase m_console; 88 protected ConsoleBase m_console;
88 89
@@ -126,7 +127,14 @@ namespace OpenSim
126 } 127 }
127 else 128 else
128 { 129 {
129 GridServers.AssetDll = "OpenSim.GridInterfaces.Remote.dll"; 130 if (this.gridLocalAsset)
131 {
132 GridServers.AssetDll = "OpenSim.GridInterfaces.Local.dll";
133 }
134 else
135 {
136 GridServers.AssetDll = "OpenSim.GridInterfaces.Remote.dll";
137 }
130 GridServers.GridDll = "OpenSim.GridInterfaces.Remote.dll"; 138 GridServers.GridDll = "OpenSim.GridInterfaces.Remote.dll";
131 139
132 m_console.WriteLine("Starting in Grid mode"); 140 m_console.WriteLine("Starting in Grid mode");