diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index c3846d9..e9b2f4f 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -991,6 +991,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
991 | 991 | ||
992 | return null; | 992 | return null; |
993 | } | 993 | } |
994 | else if (itemID == UUID.Zero) | ||
995 | { | ||
996 | // We need to have a FromItemID for multiple attachments on a single attach point to appear. This is | ||
997 | // true on Singularity 1.8.5 and quite possibly other viewers as well. As NPCs don't have an inventory | ||
998 | // we will satisfy this requirement by inserting a random UUID. | ||
999 | objatt.FromItemID = UUID.Random(); | ||
1000 | } | ||
994 | 1001 | ||
995 | if (DebugLevel > 0) | 1002 | if (DebugLevel > 0) |
996 | m_log.DebugFormat( | 1003 | m_log.DebugFormat( |