mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +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)
|
||||
|
||||
@@ -68,12 +68,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)
|
||||
|
||||
@@ -82,6 +82,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
|
||||
/// </summary>
|
||||
public bool ControlFileLoaded { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Do we want to enforce the check. IAR versions before 0.2 and 1.1 do not guarantee this order, so we can't
|
||||
/// enforce.
|
||||
/// </summary>
|
||||
public bool EnforceControlFileCheck { get; private set; }
|
||||
|
||||
protected bool m_assetsLoaded;
|
||||
protected bool m_inventoryNodesLoaded;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user