From 5c360e7374d6d3529f7578195a86a13e3858389f Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 19 Aug 2008 13:07:24 +0000 Subject: Update svn properties, minor formatting cleanup. Remove old comment in SnapshotStore pointed out by ChrisDown (bug #2000) --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 8 ++++---- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index e145f4a..171868b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -2331,11 +2331,11 @@ namespace OpenSim.Region.Environment.Scenes AttachmentPt = att.RootPart.AttachmentPoint; ScenePresence presence; - if(TryGetAvatar(remoteClient.AgentId, out presence)) + if (TryGetAvatar(remoteClient.AgentId, out presence)) { presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID); IAvatarFactory ava = RequestModuleInterface(); - if(ava != null) + if (ava != null) { ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance); } @@ -2346,11 +2346,11 @@ namespace OpenSim.Region.Environment.Scenes public void DetachSingleAttachmentToInv(LLUUID itemID, IClientAPI remoteClient) { ScenePresence presence; - if(TryGetAvatar(remoteClient.AgentId, out presence)) + if (TryGetAvatar(remoteClient.AgentId, out presence)) { presence.Appearance.DetachAttachment(itemID); IAvatarFactory ava = RequestModuleInterface(); - if(ava != null) + if (ava != null) { ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance); } diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index af7ae47..8059a78 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -607,7 +607,7 @@ namespace OpenSim.Region.Environment.Scenes public void MakeRootAgent(LLVector3 pos, bool isFlying) { IAvatarFactory ava = m_scene.RequestModuleInterface(); - if(ava != null) + if (ava != null) { ava.TryGetAvatarAppearance(m_uuid, out m_appearance); } @@ -2887,7 +2887,7 @@ namespace OpenSim.Region.Environment.Scenes { System.Console.WriteLine("Attach from world {0}", itemID.ToString()); // Attach from world - if(att.ParentGroup != null) + if (att.ParentGroup != null) m_scene.RezSingleAttachment(att.ParentGroup, ControllingClient, itemID, (uint)attachpoint, 0, 0); } else -- cgit v1.1