aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index f37f94a..8453d35 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1341,7 +1341,12 @@ namespace OpenSim.Region.Framework.Scenes
1341 1341
1342 // Take care of genuinely broken links where the target doesn't exist 1342 // Take care of genuinely broken links where the target doesn't exist
1343 if (linkedItem != null) 1343 if (linkedItem != null)
1344 linkedItemFolderIdsToSend.Add(linkedItem.Folder); 1344 {
1345 // We don't need to send the folder if source and destination of the link are in the same
1346 // folder.
1347 if (linkedItem.Folder != containingFolder.ID)
1348 linkedItemFolderIdsToSend.Add(linkedItem.Folder);
1349 }
1345 } 1350 }
1346 } 1351 }
1347 1352