mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Move mesh on/off swtich from [Startup] to [Mesh] in anticipation of future config parameters.
Default remains true. OpenSimDefault.ini changed so if you haven't overriden this switch then you don't need to do anything.
This commit is contained in:
@@ -66,12 +66,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
|
||||
|
||||
public void Initialise(IConfigSource source)
|
||||
{
|
||||
IConfig startupConfig = source.Configs["Startup"];
|
||||
if (startupConfig == null)
|
||||
IConfig meshConfig = source.Configs["Mesh"];
|
||||
if (meshConfig == null)
|
||||
return;
|
||||
|
||||
if (!startupConfig.GetBoolean("ColladaMesh",true))
|
||||
m_enabled = false;
|
||||
m_enabled = meshConfig.GetBoolean("ColladaMesh", true);
|
||||
}
|
||||
|
||||
public void AddRegion(Scene pScene)
|
||||
|
||||
Reference in New Issue
Block a user