From 631d30b80dbffd786df64155510d01b0c0cb6da2 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 17 Apr 2007 13:39:21 +0000 Subject: 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) --- OpenSim.RegionServer/OpenSimMain.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim.RegionServer/OpenSimMain.cs') 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 public bool m_sandbox = false; public bool m_loginserver; public bool user_accounts = false; + public bool gridLocalAsset = false; protected ConsoleBase m_console; @@ -126,7 +127,14 @@ namespace OpenSim } else { - GridServers.AssetDll = "OpenSim.GridInterfaces.Remote.dll"; + if (this.gridLocalAsset) + { + GridServers.AssetDll = "OpenSim.GridInterfaces.Local.dll"; + } + else + { + GridServers.AssetDll = "OpenSim.GridInterfaces.Remote.dll"; + } GridServers.GridDll = "OpenSim.GridInterfaces.Remote.dll"; m_console.WriteLine("Starting in Grid mode"); -- cgit v1.1