aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
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/Scenes/Scene.Inventory.cs
parentCorrectly convert port to int. (diff)
downloadopensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.zip
opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.tar.gz
opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.tar.bz2
opensim-SC-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/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs8
1 files changed, 4 insertions, 4 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 }