diff options
author | Melanie Thielker | 2008-08-19 15:09:35 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-19 15:09:35 +0000 |
commit | e5cdba1cb49346308fb0e9699c3a6386b487d97b (patch) | |
tree | cc299b3bae3d221887522294bfe031985db93740 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-e5cdba1cb49346308fb0e9699c3a6386b487d97b.zip opensim-SC-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.gz opensim-SC-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.bz2 opensim-SC-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.xz |
Fix region crossings and access to inventory after changing regions within
the same simulator
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 17 |
1 files changed, 17 insertions, 0 deletions
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 | |||
3860 | client.SendLayerData(patchX, patchY, Heightmap.GetFloatsSerialised()); | 3860 | client.SendLayerData(patchX, patchY, Heightmap.GetFloatsSerialised()); |
3861 | } | 3861 | } |
3862 | 3862 | ||
3863 | public void SetRootAgentScene(LLUUID agentID) | ||
3864 | { | ||
3865 | IInventoryModule inv = RequestModuleInterface<IInventoryModule>(); | ||
3866 | if(inv == null) | ||
3867 | return; | ||
3868 | |||
3869 | inv.SetRootAgentScene(agentID, this); | ||
3870 | } | ||
3871 | |||
3872 | public bool NeedSceneCacheClear(LLUUID agentID) | ||
3873 | { | ||
3874 | IInventoryModule inv = RequestModuleInterface<IInventoryModule>(); | ||
3875 | if(inv == null) | ||
3876 | return true; | ||
3877 | |||
3878 | return inv.NeedSceneCacheClear(agentID, this); | ||
3879 | } | ||
3863 | } | 3880 | } |
3864 | } | 3881 | } |