aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authordahlia2009-11-13 22:13:40 -0800
committerdahlia2009-11-13 22:13:40 -0800
commit2e24415077ab4febf61e684fec8202a3a3e83b77 (patch)
tree8f6c8045b31a32780fdb789e051a38fc53224ea9 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentexpose SceneGraph.GetGroupByPrim(UUID) (diff)
downloadopensim-SC_OLD-2e24415077ab4febf61e684fec8202a3a3e83b77.zip
opensim-SC_OLD-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.gz
opensim-SC_OLD-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.bz2
opensim-SC_OLD-2e24415077ab4febf61e684fec8202a3a3e83b77.tar.xz
undo previous changes
add a GetGroupByPrim() method to Scene.cs delete a redundant method
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index d790041..66fb918 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -803,20 +803,6 @@ namespace OpenSim.Region.Framework.Scenes
803 InventoryService.DeleteFolders(remoteClient.AgentId, folderIDs); 803 InventoryService.DeleteFolders(remoteClient.AgentId, folderIDs);
804 } 804 }
805 805
806 private SceneObjectGroup GetGroupByPrim(uint localID)
807 {
808 List<EntityBase> EntityList = GetEntities();
809
810 foreach (EntityBase ent in EntityList)
811 {
812 if (ent is SceneObjectGroup)
813 {
814 if (((SceneObjectGroup) ent).HasChildPrim(localID))
815 return (SceneObjectGroup) ent;
816 }
817 }
818 return null;
819 }
820 806
821 /// <summary> 807 /// <summary>
822 /// Send the details of a prim's inventory to the client. 808 /// Send the details of a prim's inventory to the client.