diff options
author | Justin Clark-Casey (justincc) | 2011-05-13 03:24:19 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-27 01:22:03 +0100 |
commit | d2aea3ef59f93decf7330efd2aedff7b74cf356c (patch) | |
tree | ae53e1914d85a253354c147500d71e17c3b0153f /OpenSim/Region/ClientStack/LindenUDP | |
parent | Add a smidgen of method doc about the fact that item links reuse the asset id... (diff) | |
download | opensim-SC_OLD-d2aea3ef59f93decf7330efd2aedff7b74cf356c.zip opensim-SC_OLD-d2aea3ef59f93decf7330efd2aedff7b74cf356c.tar.gz opensim-SC_OLD-d2aea3ef59f93decf7330efd2aedff7b74cf356c.tar.bz2 opensim-SC_OLD-d2aea3ef59f93decf7330efd2aedff7b74cf356c.tar.xz |
Fix broken inventory links on viewer 2.
It appears that if the viewer requests a folder containing links, we must also send the folders that contain the link targets first.
This was tested with Kokua 0.1.0 WIP though I predict it will also work with other viewer 2s
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index ad015e7..0e448d1 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1607,14 +1607,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1607 | currentPacket.ItemData[itemsSent % MAX_ITEMS_PER_PACKET] = CreateItemDataBlock(items[itemsSent++]); | 1607 | currentPacket.ItemData[itemsSent % MAX_ITEMS_PER_PACKET] = CreateItemDataBlock(items[itemsSent++]); |
1608 | else | 1608 | else |
1609 | { | 1609 | { |
1610 | // m_log.DebugFormat( | ||
1611 | // "[LLCLIENTVIEW]: Sending inventory folder details packet to {0} for folder {1}", Name, folderID); | ||
1610 | OutPacket(currentPacket, ThrottleOutPacketType.Asset, false); | 1612 | OutPacket(currentPacket, ThrottleOutPacketType.Asset, false); |
1611 | currentPacket = null; | 1613 | currentPacket = null; |
1612 | } | 1614 | } |
1613 | |||
1614 | } | 1615 | } |
1615 | 1616 | ||
1616 | if (currentPacket != null) | 1617 | if (currentPacket != null) |
1618 | { | ||
1619 | // m_log.DebugFormat( | ||
1620 | // "[LLCLIENTVIEW]: Sending inventory folder details packet to {0} for folder {1}", Name, folderID); | ||
1617 | OutPacket(currentPacket, ThrottleOutPacketType.Asset, false); | 1621 | OutPacket(currentPacket, ThrottleOutPacketType.Asset, false); |
1622 | } | ||
1618 | } | 1623 | } |
1619 | 1624 | ||
1620 | private InventoryDescendentsPacket.FolderDataBlock CreateFolderDataBlock(InventoryFolderBase folder) | 1625 | private InventoryDescendentsPacket.FolderDataBlock CreateFolderDataBlock(InventoryFolderBase folder) |