aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2011-05-20 22:38:05 +0100
committerMelanie2011-05-20 22:38:05 +0100
commite62d1cc480ef98be5621ed809c2dd7f1e8d16dd9 (patch)
tree746085bf27044b477fc4552228b14388565421ec /OpenSim/Region/Framework/Scenes
parentIf a response cannot be obtained (the script has no handler) return a more fr... (diff)
parentImplement llGetLinKNumberOfSides(). (diff)
downloadopensim-SC_OLD-e62d1cc480ef98be5621ed809c2dd7f1e8d16dd9.zip
opensim-SC_OLD-e62d1cc480ef98be5621ed809c2dd7f1e8d16dd9.tar.gz
opensim-SC_OLD-e62d1cc480ef98be5621ed809c2dd7f1e8d16dd9.tar.bz2
opensim-SC_OLD-e62d1cc480ef98be5621ed809c2dd7f1e8d16dd9.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs5
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
2 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 17242dc..431f3dc 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1423,7 +1423,10 @@ namespace OpenSim.Region.Framework.Scenes
1423 if (item.AssetType == (int)AssetType.Link) 1423 if (item.AssetType == (int)AssetType.Link)
1424 { 1424 {
1425 InventoryItemBase linkedItem = InventoryService.GetItem(new InventoryItemBase(item.AssetID)); 1425 InventoryItemBase linkedItem = InventoryService.GetItem(new InventoryItemBase(item.AssetID));
1426 linkedItemFolderIdsToSend.Add(linkedItem.Folder); 1426
1427 // Take care of genuinely broken links where the target doesn't exist
1428 if (linkedItem != null)
1429 linkedItemFolderIdsToSend.Add(linkedItem.Folder);
1427 } 1430 }
1428 } 1431 }
1429 1432
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index bac66cb..313a469 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -620,7 +620,7 @@ namespace OpenSim.Region.Framework.Scenes
620 "delete object uuid <UUID>", 620 "delete object uuid <UUID>",
621 "Delete object by uuid", HandleDeleteObject); 621 "Delete object by uuid", HandleDeleteObject);
622 MainConsole.Instance.Commands.AddCommand("region", false, "delete object name", 622 MainConsole.Instance.Commands.AddCommand("region", false, "delete object name",
623 "delete object name <UUID>", 623 "delete object name <name>",
624 "Delete object by name", HandleDeleteObject); 624 "Delete object by name", HandleDeleteObject);
625 625
626 //Bind Storage Manager functions to some land manager functions for this scene 626 //Bind Storage Manager functions to some land manager functions for this scene