aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-13 22:27:33 +0100
committerJustin Clark-Casey (justincc)2011-09-13 22:27:33 +0100
commit2d62484f11710cbeb066ab6bf02f78ad379ecca3 (patch)
tree458f8770539633212e1ec27191288b80d6ec2e73
parentminor: remove redundant grp != null check from AM.UpdateKnownItem() (diff)
downloadopensim-SC-2d62484f11710cbeb066ab6bf02f78ad379ecca3.zip
opensim-SC-2d62484f11710cbeb066ab6bf02f78ad379ecca3.tar.gz
opensim-SC-2d62484f11710cbeb066ab6bf02f78ad379ecca3.tar.bz2
opensim-SC-2d62484f11710cbeb066ab6bf02f78ad379ecca3.tar.xz
Remove UpdateKnownItem() from IAttachmentsModule.
It's not appropriate for code outside the attachments module to call this.
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs2
-rw-r--r--OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs9
2 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index ae19224..03837b5 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -705,7 +705,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
705 /// <param name="grp"></param> 705 /// <param name="grp"></param>
706 /// <param name="itemID"></param> 706 /// <param name="itemID"></param>
707 /// <param name="agentID"></param> 707 /// <param name="agentID"></param>
708 public void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID) 708 private void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
709 { 709 {
710 if (grp.HasGroupChanged || grp.ContainsScripts()) 710 if (grp.HasGroupChanged || grp.ContainsScripts())
711 { 711 {
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index e6ac6b5..5ffbec8 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -138,14 +138,5 @@ namespace OpenSim.Region.Framework.Interfaces
138 /// <param name="sog"></param> 138 /// <param name="sog"></param>
139 /// <param name="pos"></param> 139 /// <param name="pos"></param>
140 void UpdateAttachmentPosition(SceneObjectGroup sog, Vector3 pos); 140 void UpdateAttachmentPosition(SceneObjectGroup sog, Vector3 pos);
141
142 /// <summary>
143 /// Update the user inventory with a changed attachment
144 /// </summary>
145 /// <param name="remoteClient"></param>
146 /// <param name="grp"></param>
147 /// <param name="itemID"></param>
148 /// <param name="agentID"></param>
149 void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID);
150 } 141 }
151} 142}