diff options
author | Justin Clark-Casey (justincc) | 2011-09-03 01:11:16 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-03 01:11:16 +0100 |
commit | 5c1fa968ab954bec9860023dffc8f68baf3c0620 (patch) | |
tree | f5be7264076e9e2815cd05f6a7ba8bac2831330a /OpenSim/Region/Framework/Interfaces/IScenePresence.cs | |
parent | Comment out Scene.CleanDroppedAttachments() and calls. (diff) | |
download | opensim-SC-5c1fa968ab954bec9860023dffc8f68baf3c0620.zip opensim-SC-5c1fa968ab954bec9860023dffc8f68baf3c0620.tar.gz opensim-SC-5c1fa968ab954bec9860023dffc8f68baf3c0620.tar.bz2 opensim-SC-5c1fa968ab954bec9860023dffc8f68baf3c0620.tar.xz |
Stop NPCs losing attachments when the source avatar takes them off.
This was happening because we were using the source avatar's item IDs in the clone appearance.
Switch to using the asset IDs of attachments instead for NPCs.
The InventoryAccessModule and AttachmentModule had to be changed to allow rezzing of an object without an associated inventory item.
Hopefully goes some way towards resolving http://opensimulator.org/mantis/view.php?id=5653
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScenePresence.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs index 91e4bf2..8913133 100644 --- a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs +++ b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs | |||
@@ -46,6 +46,11 @@ namespace OpenSim.Region.Framework.Interfaces | |||
46 | IClientAPI ControllingClient { get; } | 46 | IClientAPI ControllingClient { get; } |
47 | 47 | ||
48 | /// <summary> | 48 | /// <summary> |
49 | /// What type of presence is this? User, NPC, etc. | ||
50 | /// </summary> | ||
51 | PresenceType PresenceType { get; } | ||
52 | |||
53 | /// <summary> | ||
49 | /// Avatar appearance data. | 54 | /// Avatar appearance data. |
50 | /// </summary> | 55 | /// </summary> |
51 | /// <remarks> | 56 | /// <remarks> |