Update svn properties, minor formatting cleanup.
parent
b28bac016a
commit
07b04213d7
|
@ -235,7 +235,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory
|
||||||
if (!m_AgentRegions.ContainsKey(agentID))
|
if (!m_AgentRegions.ContainsKey(agentID))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if(m_AgentRegions[agentID] == scene)
|
if (m_AgentRegions[agentID] == scene)
|
||||||
{
|
{
|
||||||
m_AgentRegions.Remove(agentID);
|
m_AgentRegions.Remove(agentID);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -3863,7 +3863,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
public void SetRootAgentScene(LLUUID agentID)
|
public void SetRootAgentScene(LLUUID agentID)
|
||||||
{
|
{
|
||||||
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
||||||
if(inv == null)
|
if (inv == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
inv.SetRootAgentScene(agentID, this);
|
inv.SetRootAgentScene(agentID, this);
|
||||||
|
@ -3872,7 +3872,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
public bool NeedSceneCacheClear(LLUUID agentID)
|
public bool NeedSceneCacheClear(LLUUID agentID)
|
||||||
{
|
{
|
||||||
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
||||||
if(inv == null)
|
if (inv == null)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return inv.NeedSceneCacheClear(agentID, this);
|
return inv.NeedSceneCacheClear(agentID, this);
|
||||||
|
|
|
@ -2014,7 +2014,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
m_scene.NotifyMyCoarseLocationChange();
|
m_scene.NotifyMyCoarseLocationChange();
|
||||||
// the user may change their profile information in other region,
|
// the user may change their profile information in other region,
|
||||||
// so the userinfo in UserProfileCache is not reliable any more, delete it
|
// so the userinfo in UserProfileCache is not reliable any more, delete it
|
||||||
if(m_scene.NeedSceneCacheClear(UUID))
|
if (m_scene.NeedSceneCacheClear(UUID))
|
||||||
m_scene.CommsManager.UserProfileCacheService.RemoveUser(UUID);
|
m_scene.CommsManager.UserProfileCacheService.RemoveUser(UUID);
|
||||||
m_log.InfoFormat("User {0} is going to another region, profile cache removed", UUID);
|
m_log.InfoFormat("User {0} is going to another region, profile cache removed", UUID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue