aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-02-05 18:09:27 +0000
committerJustin Clark-Casey (justincc)2010-02-05 18:09:27 +0000
commit7058a4c2597a2b76704e906b73ae7077ff805b16 (patch)
tree6af280f42bd648ddb314ba2fb3b12df851004869 /OpenSim/Region/CoreModules
parentrefactor: chain two ScenePresence constructors together to eliminate common c... (diff)
downloadopensim-SC_OLD-7058a4c2597a2b76704e906b73ae7077ff805b16.zip
opensim-SC_OLD-7058a4c2597a2b76704e906b73ae7077ff805b16.tar.gz
opensim-SC_OLD-7058a4c2597a2b76704e906b73ae7077ff805b16.tar.bz2
opensim-SC_OLD-7058a4c2597a2b76704e906b73ae7077ff805b16.tar.xz
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 effects
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
index 1add0ab..e0e4cc6 100644
--- a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
@@ -324,7 +324,9 @@ namespace OpenSim.Region.CoreModules.Asset
324 if (moduleConfig == null) 324 if (moduleConfig == null)
325 return; 325 return;
326 326
327 string name = moduleConfig.GetString("AssetCaching"); 327 // We're going to make CenomeAssetCache the default if there is no AssetCaching setting at all. This
328 // matches the default StandaloneCommon.ini.example
329 string name = moduleConfig.GetString("AssetCaching", Name);
328 //Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name); 330 //Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name);
329 331
330 if (name != Name) 332 if (name != Name)