refactor: remove pointless AgentId argument from attachObjectAssetStore()

bulletsim
Justin Clark-Casey (justincc) 2011-08-24 21:14:57 +01:00
parent b9ec625dbf
commit ccf07f6ae3
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
itemID = group.GetFromItemID(); itemID = group.GetFromItemID();
if (itemID == UUID.Zero) if (itemID == UUID.Zero)
m_scene.attachObjectAssetStore(sp.ControllingClient, group, sp.UUID, out itemID); m_scene.attachObjectAssetStore(sp.ControllingClient, group, out itemID);
ShowAttachInUserInventory(sp, AttachmentPt, itemID, group); ShowAttachInUserInventory(sp, AttachmentPt, itemID, group);

View File

@ -1871,7 +1871,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
} }
public UUID attachObjectAssetStore(IClientAPI remoteClient, SceneObjectGroup grp, UUID AgentId, out UUID itemID) public UUID attachObjectAssetStore(IClientAPI remoteClient, SceneObjectGroup grp, out UUID itemID)
{ {
// m_log.DebugFormat("[SCENE]: Called attachObjectAssetStore for object {0} {1} for {2} {3} {4}", grp.Name, grp.LocalId, remoteClient.Name, remoteClient.AgentId, AgentId); // m_log.DebugFormat("[SCENE]: Called attachObjectAssetStore for object {0} {1} for {2} {3} {4}", grp.Name, grp.LocalId, remoteClient.Name, remoteClient.AgentId, AgentId);