From 4dd523b45d1e635c66eb4e556764fabe29dbfc58 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 10 Jan 2010 15:34:56 -0800 Subject: * Changed IPresenceService Logout, so that it takes a position and a lookat * CommsManager.AvatarService rerouted --- OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs') diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs index 791cfcd..c40ea0e 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs @@ -36,7 +36,7 @@ using OpenSim.Framework; using OpenSim.Framework.Communications; using OpenSim.Services.Interfaces; using IUserService = OpenSim.Framework.Communications.IUserService; -using IAvatarService = OpenSim.Framework.Communications.IAvatarService; +using IAvatarService = OpenSim.Services.Interfaces.IAvatarService; namespace OpenSim.ApplicationPlugins.Rest.Inventory { @@ -93,11 +93,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory /// initializes. /// - internal static CommunicationsManager Comms - { - get { return main.CommunicationsManager; } - } - internal static IInventoryService InventoryServices { get { return main.SceneManager.CurrentOrFirstScene.InventoryService; } @@ -115,7 +110,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory internal static IAvatarService AvatarServices { - get { return Comms.AvatarService; } + get { return main.SceneManager.CurrentOrFirstScene.AvatarService; } } internal static IAssetService AssetServices -- cgit v1.1