From 07b04213d7fe39fa51ff0b1ce435d66fbed8da36 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 19 Aug 2008 22:41:39 +0000 Subject: Update svn properties, minor formatting cleanup. --- .../Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs | 2 +- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++-- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs index 5f0d83d..bf55e7b 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs @@ -235,7 +235,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory if (!m_AgentRegions.ContainsKey(agentID)) return true; - if(m_AgentRegions[agentID] == scene) + if (m_AgentRegions[agentID] == scene) { m_AgentRegions.Remove(agentID); return true; diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 7d55f7e..363d0f8 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -3863,7 +3863,7 @@ namespace OpenSim.Region.Environment.Scenes public void SetRootAgentScene(LLUUID agentID) { IInventoryModule inv = RequestModuleInterface(); - if(inv == null) + if (inv == null) return; inv.SetRootAgentScene(agentID, this); @@ -3872,7 +3872,7 @@ namespace OpenSim.Region.Environment.Scenes public bool NeedSceneCacheClear(LLUUID agentID) { IInventoryModule inv = RequestModuleInterface(); - if(inv == null) + if (inv == null) return true; return inv.NeedSceneCacheClear(agentID, this); diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 4bc5d34..cc70210 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -2014,7 +2014,7 @@ namespace OpenSim.Region.Environment.Scenes m_scene.NotifyMyCoarseLocationChange(); // the user may change their profile information in other region, // 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_log.InfoFormat("User {0} is going to another region, profile cache removed", UUID); } -- cgit v1.1