diff options
author | Melanie | 2010-11-16 21:01:56 +0000 |
---|---|---|
committer | Melanie | 2010-11-16 21:01:56 +0000 |
commit | 7bb005b0d1a5ae63ca94a3a3f8ad98e0388ea76b (patch) | |
tree | b73a2aa9f04e9c34281fb38512da3eb800396769 /OpenSim/Region/Framework/Interfaces | |
parent | Fix osTeleportAgent for hypergrid destinations. (diff) | |
download | opensim-SC_OLD-7bb005b0d1a5ae63ca94a3a3f8ad98e0388ea76b.zip opensim-SC_OLD-7bb005b0d1a5ae63ca94a3a3f8ad98e0388ea76b.tar.gz opensim-SC_OLD-7bb005b0d1a5ae63ca94a3a3f8ad98e0388ea76b.tar.bz2 opensim-SC_OLD-7bb005b0d1a5ae63ca94a3a3f8ad98e0388ea76b.tar.xz |
Change the way attachments are persisted. Editing a worn attachment will now
save properly, as will the results of a resizer script working. Attachment
positions are no longer saved on each move, but instead are saved once on
logout. Attachment script states are saved as part of the attachment now
when detaching.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 21 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 1 |
2 files changed, 16 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs index 24e481b..b3576c5 100644 --- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | |||
@@ -122,11 +122,20 @@ namespace OpenSim.Region.Framework.Interfaces | |||
122 | void ShowDetachInUserInventory(UUID itemID, IClientAPI remoteClient); | 122 | void ShowDetachInUserInventory(UUID itemID, IClientAPI remoteClient); |
123 | 123 | ||
124 | /// <summary> | 124 | /// <summary> |
125 | /// Update the position of an attachment | 125 | /// Update the user inventory with a changed attachment |
126 | /// </summary> | 126 | /// </summary> |
127 | /// <param name="client"></param> | 127 | /// <param name="remoteClient"> |
128 | /// <param name="sog"></param> | 128 | /// A <see cref="IClientAPI"/> |
129 | /// <param name="pos"></param> | 129 | /// </param> |
130 | void UpdateAttachmentPosition(IClientAPI client, SceneObjectGroup sog, Vector3 pos); | 130 | /// <param name="grp"> |
131 | /// A <see cref="SceneObjectGroup"/> | ||
132 | /// </param> | ||
133 | /// <param name="itemID"> | ||
134 | /// A <see cref="UUID"/> | ||
135 | /// </param> | ||
136 | /// <param name="agentID"> | ||
137 | /// A <see cref="UUID"/> | ||
138 | /// </param> | ||
139 | void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID); | ||
131 | } | 140 | } |
132 | } \ No newline at end of file | 141 | } |
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index 2e6faa0..64664ab 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -183,6 +183,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
183 | /// <returns>false if the item did not exist, true if the update occurred successfully</returns> | 183 | /// <returns>false if the item did not exist, true if the update occurred successfully</returns> |
184 | bool UpdateInventoryItem(TaskInventoryItem item); | 184 | bool UpdateInventoryItem(TaskInventoryItem item); |
185 | bool UpdateInventoryItem(TaskInventoryItem item, bool fireScriptEvents); | 185 | bool UpdateInventoryItem(TaskInventoryItem item, bool fireScriptEvents); |
186 | bool UpdateInventoryItem(TaskInventoryItem item, bool fireScriptEvents, bool considerChanged); | ||
186 | 187 | ||
187 | /// <summary> | 188 | /// <summary> |
188 | /// Remove an item from this entity's inventory | 189 | /// Remove an item from this entity's inventory |