Răsfoiți Sursa

Remove UpdateKnownItem() from IAttachmentsModule.

It's not appropriate for code outside the attachments module to call this.
Justin Clark-Casey (justincc) 13 ani în urmă
părinte
comite
2d62484f11

+ 1 - 1
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs

@@ -705,7 +705,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
         /// <param name="grp"></param>
         /// <param name="itemID"></param>
         /// <param name="agentID"></param>
-        public void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
+        private void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
         {
             if (grp.HasGroupChanged || grp.ContainsScripts())
             {

+ 0 - 9
OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs

@@ -138,14 +138,5 @@ namespace OpenSim.Region.Framework.Interfaces
         /// <param name="sog"></param>
         /// <param name="pos"></param>
         void UpdateAttachmentPosition(SceneObjectGroup sog, Vector3 pos);
-        
-        /// <summary>
-        /// Update the user inventory with a changed attachment
-        /// </summary>
-        /// <param name="remoteClient"></param>
-        /// <param name="grp"></param>
-        /// <param name="itemID"></param>
-        /// <param name="agentID"></param>
-        void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID);
     }
 }