aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
diff options
context:
space:
mode:
authorDiva Canto2010-01-30 15:43:10 -0800
committerDiva Canto2010-01-30 15:43:10 -0800
commita0d79e621cc8ee4935dfc2816da75db9c23c1b84 (patch)
treeb4850a6ee90f4cd98f68109dad29b7b9c8c9f242 /OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
parent* HGScene is no more. (diff)
downloadopensim-SC_OLD-a0d79e621cc8ee4935dfc2816da75db9c23c1b84.zip
opensim-SC_OLD-a0d79e621cc8ee4935dfc2816da75db9c23c1b84.tar.gz
opensim-SC_OLD-a0d79e621cc8ee4935dfc2816da75db9c23c1b84.tar.bz2
opensim-SC_OLD-a0d79e621cc8ee4935dfc2816da75db9c23c1b84.tar.xz
Bug fix: change HGBroker to a INonSharedRegionModule
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
index 811569f..1e51187 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
@@ -40,12 +40,17 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
40{ 40{
41 public abstract class BaseInventoryConnector : IInventoryService 41 public abstract class BaseInventoryConnector : IInventoryService
42 { 42 {
43 protected InventoryCache m_cache; 43 protected static InventoryCache m_cache;
44 private static bool m_Initialized;
44 45
45 protected virtual void Init(IConfigSource source) 46 protected virtual void Init(IConfigSource source)
46 { 47 {
47 m_cache = new InventoryCache(); 48 if (!m_Initialized)
48 m_cache.Init(source, this); 49 {
50 m_cache = new InventoryCache();
51 m_cache.Init(source, this);
52 m_Initialized = true;
53 }
49 } 54 }
50 55
51 /// <summary> 56 /// <summary>