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/SceneCommunicationService.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-e5cdba1cb49346308fb0e9699c3a6386b487d97b.zip opensim-SC_OLD-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.gz opensim-SC_OLD-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.bz2 opensim-SC_OLD-e5cdba1cb49346308fb0e9699c3a6386b487d97b.tar.xz |
Fix region crossings and access to inventory after changing regions within
the same simulator
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index adad7d3..f1af15f 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -653,9 +653,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
653 | SendCloseChildAgentConnections(avatar.UUID,avatar.GetKnownRegionList()); | 653 | SendCloseChildAgentConnections(avatar.UUID,avatar.GetKnownRegionList()); |
654 | } | 654 | } |
655 | // if (teleport success) // seems to be always success here | 655 | // if (teleport success) // seems to be always success here |
656 | // the user may change thier profile information in other region, | 656 | // the user may change their profile information in other region, |
657 | // so the userinfo in UserProfileCache is not reliable any more, delete it | 657 | // so the userinfo in UserProfileCache is not reliable any more, delete it |
658 | m_commsProvider.UserProfileCacheService.RemoveUser(avatar.UUID); | 658 | if (avatar.Scene.NeedSceneCacheClear(avatar.UUID)) |
659 | m_commsProvider.UserProfileCacheService.RemoveUser(avatar.UUID); | ||
659 | m_log.InfoFormat("User {0} is going to another region, profile cache removed", avatar.UUID); | 660 | m_log.InfoFormat("User {0} is going to another region, profile cache removed", avatar.UUID); |
660 | } | 661 | } |
661 | else | 662 | else |