From e5cdba1cb49346308fb0e9699c3a6386b487d97b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 19 Aug 2008 15:09:35 +0000 Subject: Fix region crossings and access to inventory after changing regions within the same simulator --- OpenSim/Region/Environment/Scenes/Scene.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 4564cf1..7d55f7e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -3860,5 +3860,22 @@ namespace OpenSim.Region.Environment.Scenes client.SendLayerData(patchX, patchY, Heightmap.GetFloatsSerialised()); } + public void SetRootAgentScene(LLUUID agentID) + { + IInventoryModule inv = RequestModuleInterface(); + if(inv == null) + return; + + inv.SetRootAgentScene(agentID, this); + } + + public bool NeedSceneCacheClear(LLUUID agentID) + { + IInventoryModule inv = RequestModuleInterface(); + if(inv == null) + return true; + + return inv.NeedSceneCacheClear(agentID, this); + } } } -- cgit v1.1