aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-05 22:55:48 +0100
committerJustin Clark-Casey (justincc)2011-09-05 22:55:48 +0100
commit5e579b71fdd51fc840ddbece99322e1f9c9be805 (patch)
tree294a6cb630e3a490e91fc9418933c86e04c43b3c /OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs
parentFixed BulletSim config files for Linux *.so libraries. (diff)
downloadopensim-SC_OLD-5e579b71fdd51fc840ddbece99322e1f9c9be805.zip
opensim-SC_OLD-5e579b71fdd51fc840ddbece99322e1f9c9be805.tar.gz
opensim-SC_OLD-5e579b71fdd51fc840ddbece99322e1f9c9be805.tar.bz2
opensim-SC_OLD-5e579b71fdd51fc840ddbece99322e1f9c9be805.tar.xz
Allow the HGInventoryBroker to set the UserManager when it instantiates a RemoteXInventoryServiceConnector for a visiting HG user.
Not doing this causes NREs whenever that user tries to access inventory when Hypergrid is turned on since the Remote connector does not have a scene (which is only used to fetch the UserManager) Aims to address http://opensimulator.org/mantis/view.php?id=5669
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs
index 8f1f257..4a3ccc5 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs
@@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
50 private XInventoryServicesConnector m_RemoteConnector; 50 private XInventoryServicesConnector m_RemoteConnector;
51 51
52 private IUserManagement m_UserManager; 52 private IUserManagement m_UserManager;
53 private IUserManagement UserManager 53 public IUserManagement UserManager
54 { 54 {
55 get 55 get
56 { 56 {
@@ -60,6 +60,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
60 } 60 }
61 return m_UserManager; 61 return m_UserManager;
62 } 62 }
63
64 set
65 {
66 m_UserManager = value;
67 }
63 } 68 }
64 69
65 public Type ReplaceableInterface 70 public Type ReplaceableInterface