diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs index da156b6..c7f8c31 100644 --- a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | |||
@@ -88,6 +88,8 @@ namespace OpenSim.Region.CoreModules.Asset | |||
88 | 88 | ||
89 | public void AddRegion(Scene scene) | 89 | public void AddRegion(Scene scene) |
90 | { | 90 | { |
91 | if (m_Enabled) | ||
92 | scene.RegisterModuleInterface<IImprovedAssetCache>(this); | ||
91 | } | 93 | } |
92 | 94 | ||
93 | public void RemoveRegion(Scene scene) | 95 | public void RemoveRegion(Scene scene) |