Old OpenSim installations may have no AssetCaching setting in config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all)
If this is the case, this patch makes CenomeAssetCache the default cache (which matches that selected in StandaloneCommon.ini.example) Not having an asset cache may lead to a continual loop of appearance baking failures and cause dynamic textures not to work, among other effectsmysql-performance
parent
0a084a31e9
commit
7058a4c259
|
@ -324,7 +324,9 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||||
if (moduleConfig == null)
|
if (moduleConfig == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
string name = moduleConfig.GetString("AssetCaching");
|
// We're going to make CenomeAssetCache the default if there is no AssetCaching setting at all. This
|
||||||
|
// matches the default StandaloneCommon.ini.example
|
||||||
|
string name = moduleConfig.GetString("AssetCaching", Name);
|
||||||
//Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name);
|
//Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name);
|
||||||
|
|
||||||
if (name != Name)
|
if (name != Name)
|
||||||
|
|
Loading…
Reference in New Issue