aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController
diff options
context:
space:
mode:
authordiva2009-06-10 13:18:32 +0000
committerdiva2009-06-10 13:18:32 +0000
commit0f367bd7bbc5d22d4834e1eb0f1671381485143e (patch)
treeeeb4290f1146601f8fd97dc164e0a7f247a2fafb /OpenSim/ApplicationPlugins/RemoteController
parentFrom: Alan Webb <alan_webb@us.ibm.com> (diff)
downloadopensim-SC_OLD-0f367bd7bbc5d22d4834e1eb0f1671381485143e.zip
opensim-SC_OLD-0f367bd7bbc5d22d4834e1eb0f1671381485143e.tar.gz
opensim-SC_OLD-0f367bd7bbc5d22d4834e1eb0f1671381485143e.tar.bz2
opensim-SC_OLD-0f367bd7bbc5d22d4834e1eb0f1671381485143e.tar.xz
Heart surgery no.2: the inventory service hooks.
Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index 189bd29..f768516 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -1290,15 +1290,15 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1290 1290
1291 UICallback sic = new UICallback(); 1291 UICallback sic = new UICallback();
1292 UICallback dic = new UICallback(); 1292 UICallback dic = new UICallback();
1293 IInventoryServices iserv = m_app.CommunicationsManager.InventoryService; 1293 IInventoryService iserv = m_app.SceneManager.CurrentOrFirstScene.InventoryService;
1294 1294
1295 try 1295 try
1296 { 1296 {
1297 1297
1298 Dictionary<UUID,UUID> imap = new Dictionary<UUID,UUID>(); 1298 Dictionary<UUID,UUID> imap = new Dictionary<UUID,UUID>();
1299 1299
1300 iserv.RequestInventoryForUser(dest, dic.callback); 1300 iserv.GetUserInventory(dest, dic.callback);
1301 iserv.RequestInventoryForUser(srca, sic.callback); 1301 iserv.GetUserInventory(srca, sic.callback);
1302 1302
1303 dic.GetInventory(); 1303 dic.GetInventory();
1304 sic.GetInventory(); 1304 sic.GetInventory();
@@ -1436,8 +1436,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1436 bool select = false; 1436 bool select = false;
1437 1437
1438 UICallback uic; 1438 UICallback uic;
1439 IInventoryServices iserv = m_app.CommunicationsManager.InventoryService; 1439 IInventoryService iserv = m_app.SceneManager.CurrentOrFirstScene.InventoryService;
1440 IAssetService aserv = m_app.SceneManager.CurrentOrFirstScene.AssetService; 1440 IAssetService aserv = m_app.SceneManager.CurrentOrFirstScene.AssetService;
1441 1441
1442 doc.LoadXml(File.ReadAllText(dafn)); 1442 doc.LoadXml(File.ReadAllText(dafn));
1443 1443
@@ -1511,7 +1511,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1511 { 1511 {
1512 uic = new UICallback(); 1512 uic = new UICallback();
1513 // Request the inventory 1513 // Request the inventory
1514 iserv.RequestInventoryForUser(ID, uic.callback); 1514 iserv.GetUserInventory(ID, uic.callback);
1515 1515
1516 // While the inventory is being fetched, setup for appearance processing 1516 // While the inventory is being fetched, setup for appearance processing
1517 if ((mava = m_app.CommunicationsManager.AvatarService.GetUserAppearance(ID)) == null) 1517 if ((mava = m_app.CommunicationsManager.AvatarService.GetUserAppearance(ID)) == null)