diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index f0f73b0..6b8ddc6 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -472,7 +472,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
472 | hasPrim = ((SceneObjectGroup)ent).HasChildPrim(primLocalID); | 472 | hasPrim = ((SceneObjectGroup)ent).HasChildPrim(primLocalID); |
473 | if (hasPrim != false) | 473 | if (hasPrim != false) |
474 | { | 474 | { |
475 | ((SceneObjectGroup)ent).GetPartInventory(remoteClient, primLocalID); | 475 | ((SceneObjectGroup)ent).GetPartInventoryFileName(remoteClient, primLocalID); |
476 | break; | 476 | break; |
477 | } | 477 | } |
478 | } | 478 | } |
@@ -758,6 +758,25 @@ namespace OpenSim.Region.Environment.Scenes | |||
758 | } | 758 | } |
759 | 759 | ||
760 | /// <summary> | 760 | /// <summary> |
761 | /// | ||
762 | /// </summary> | ||
763 | /// <param name="remoteClient"></param> | ||
764 | /// <param name="xferID"></param> | ||
765 | /// <param name="fileName"></param> | ||
766 | public void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName) | ||
767 | { | ||
768 | /* | ||
769 | foreach (EntityBase ent in Entities.Values) | ||
770 | { | ||
771 | if (ent is SceneObjectGroup) | ||
772 | { | ||
773 | ((SceneObjectGroup)ent).RequestInventoryFile(remoteClient, ((SceneObjectGroup)ent).LocalId, xferID); | ||
774 | break; | ||
775 | } | ||
776 | }*/ | ||
777 | } | ||
778 | |||
779 | /// <summary> | ||
761 | /// temporary method to test out creating new inventory items | 780 | /// temporary method to test out creating new inventory items |
762 | /// </summary> | 781 | /// </summary> |
763 | /// <param name="remoteClient"></param> | 782 | /// <param name="remoteClient"></param> |