diff options
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 | } |