aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorJeff Ames2008-08-19 13:07:24 +0000
committerJeff Ames2008-08-19 13:07:24 +0000
commit5c360e7374d6d3529f7578195a86a13e3858389f (patch)
tree87ada94cf6dfeea5d79181fcc8a6241e886fd794 /OpenSim/Region/Environment
parentCorrectly convert port to int. (diff)
downloadopensim-SC_OLD-5c360e7374d6d3529f7578195a86a13e3858389f.zip
opensim-SC_OLD-5c360e7374d6d3529f7578195a86a13e3858389f.tar.gz
opensim-SC_OLD-5c360e7374d6d3529f7578195a86a13e3858389f.tar.bz2
opensim-SC_OLD-5c360e7374d6d3529f7578195a86a13e3858389f.tar.xz
Update svn properties, minor formatting cleanup.
Remove old comment in SnapshotStore pointed out by ChrisDown (bug #2000)
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs8
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs4
2 files changed, 6 insertions, 6 deletions
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
2331 AttachmentPt = att.RootPart.AttachmentPoint; 2331 AttachmentPt = att.RootPart.AttachmentPoint;
2332 2332
2333 ScenePresence presence; 2333 ScenePresence presence;
2334 if(TryGetAvatar(remoteClient.AgentId, out presence)) 2334 if (TryGetAvatar(remoteClient.AgentId, out presence))
2335 { 2335 {
2336 presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID); 2336 presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID);
2337 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); 2337 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>();
2338 if(ava != null) 2338 if (ava != null)
2339 { 2339 {
2340 ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance); 2340 ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance);
2341 } 2341 }
@@ -2346,11 +2346,11 @@ namespace OpenSim.Region.Environment.Scenes
2346 public void DetachSingleAttachmentToInv(LLUUID itemID, IClientAPI remoteClient) 2346 public void DetachSingleAttachmentToInv(LLUUID itemID, IClientAPI remoteClient)
2347 { 2347 {
2348 ScenePresence presence; 2348 ScenePresence presence;
2349 if(TryGetAvatar(remoteClient.AgentId, out presence)) 2349 if (TryGetAvatar(remoteClient.AgentId, out presence))
2350 { 2350 {
2351 presence.Appearance.DetachAttachment(itemID); 2351 presence.Appearance.DetachAttachment(itemID);
2352 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); 2352 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>();
2353 if(ava != null) 2353 if (ava != null)
2354 { 2354 {
2355 ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance); 2355 ava.UpdateDatabase(remoteClient.AgentId, presence.Appearance);
2356 } 2356 }
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
607 public void MakeRootAgent(LLVector3 pos, bool isFlying) 607 public void MakeRootAgent(LLVector3 pos, bool isFlying)
608 { 608 {
609 IAvatarFactory ava = m_scene.RequestModuleInterface<IAvatarFactory>(); 609 IAvatarFactory ava = m_scene.RequestModuleInterface<IAvatarFactory>();
610 if(ava != null) 610 if (ava != null)
611 { 611 {
612 ava.TryGetAvatarAppearance(m_uuid, out m_appearance); 612 ava.TryGetAvatarAppearance(m_uuid, out m_appearance);
613 } 613 }
@@ -2887,7 +2887,7 @@ namespace OpenSim.Region.Environment.Scenes
2887 { 2887 {
2888 System.Console.WriteLine("Attach from world {0}", itemID.ToString()); 2888 System.Console.WriteLine("Attach from world {0}", itemID.ToString());
2889 // Attach from world 2889 // Attach from world
2890 if(att.ParentGroup != null) 2890 if (att.ParentGroup != null)
2891 m_scene.RezSingleAttachment(att.ParentGroup, ControllingClient, itemID, (uint)attachpoint, 0, 0); 2891 m_scene.RezSingleAttachment(att.ParentGroup, ControllingClient, itemID, (uint)attachpoint, 0, 0);
2892 } 2892 }
2893 else 2893 else