Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist.
parent
ac3154e6b7
commit
d95bfc8eec
|
@ -58,9 +58,9 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
|||
m_scene = scene;
|
||||
|
||||
// This module is only on for standalones in hypergrid mode
|
||||
enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
|
||||
(config.Configs["Startup"].GetBoolean("hypergrid", true)||
|
||||
config.Configs["MXP"].GetBoolean("Enabled", true));
|
||||
enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
|
||||
config.Configs["Startup"].GetBoolean("hypergrid", true)) ||
|
||||
((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue