diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs index e4bb865..8722e68 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs | |||
@@ -104,12 +104,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
104 | 104 | ||
105 | public void AddRegion(Scene scene) | 105 | public void AddRegion(Scene scene) |
106 | { | 106 | { |
107 | m_Scene = scene; | ||
108 | |||
107 | if (!m_Enabled) | 109 | if (!m_Enabled) |
108 | return; | 110 | return; |
109 | 111 | ||
110 | if (!m_Initialized) | 112 | if (!m_Initialized) |
111 | { | 113 | { |
112 | m_Scene = scene; | ||
113 | // ugh! | 114 | // ugh! |
114 | scene.CommsManager.UserProfileCacheService.SetInventoryService(this); | 115 | scene.CommsManager.UserProfileCacheService.SetInventoryService(this); |
115 | scene.CommsManager.UserService.SetInventoryService(this); | 116 | scene.CommsManager.UserService.SetInventoryService(this); |