diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs index 5992145..20cddcd 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs | |||
@@ -105,6 +105,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
105 | 105 | ||
106 | public void AddRegion(Scene scene) | 106 | public void AddRegion(Scene scene) |
107 | { | 107 | { |
108 | m_log.Debug("[XXXX] Adding scene " + scene.RegionInfo.RegionName); | ||
108 | m_Scene = scene; | 109 | m_Scene = scene; |
109 | 110 | ||
110 | if (!m_Enabled) | 111 | if (!m_Enabled) |
@@ -314,6 +315,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
314 | 315 | ||
315 | private UUID GetSessionID(UUID userID) | 316 | private UUID GetSessionID(UUID userID) |
316 | { | 317 | { |
318 | if (m_Scene == null) | ||
319 | m_log.Debug("[INVENTORY CONNECTOR]: OOPS! scene is null"); | ||
320 | |||
321 | if (m_Scene.CommsManager.UserProfileCacheService == null) | ||
322 | m_log.Debug("[INVENTORY CONNECTOR]: OOPS! UserProfileCacheService is null"); | ||
323 | |||
317 | CachedUserInfo uinfo = m_Scene.CommsManager.UserProfileCacheService.GetUserDetails(userID); | 324 | CachedUserInfo uinfo = m_Scene.CommsManager.UserProfileCacheService.GetUserDetails(userID); |
318 | if (uinfo != null) | 325 | if (uinfo != null) |
319 | return uinfo.SessionID; | 326 | return uinfo.SessionID; |