diff options
READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.
It contains a major interface version bump and will NOT work with earlier grid
services. This is preliminary work that will lead to layers support.
Rest appearance services are commented out completely, they will have to be
adapted by someone who actually uses them. Remote admin is working, but has
no layers support. There is no layers support in the database. Login likely
won't work. You have been warned.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs index 3f6d4d6..019ca73 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | |||
@@ -499,6 +499,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
499 | indata = true; | 499 | indata = true; |
500 | } | 500 | } |
501 | break; | 501 | break; |
502 | /* | ||
502 | case "Body" : | 503 | case "Body" : |
503 | if (xml.MoveToAttribute("Item")) | 504 | if (xml.MoveToAttribute("Item")) |
504 | { | 505 | { |
@@ -655,6 +656,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
655 | indata = true; | 656 | indata = true; |
656 | } | 657 | } |
657 | break; | 658 | break; |
659 | */ | ||
658 | case "Attachment" : | 660 | case "Attachment" : |
659 | { | 661 | { |
660 | 662 | ||
@@ -749,6 +751,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
749 | rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString()); | 751 | rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString()); |
750 | rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString()); | 752 | rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString()); |
751 | 753 | ||
754 | /* | ||
752 | FormatPart(rdata, "Body", rdata.userAppearance.BodyItem, rdata.userAppearance.BodyAsset); | 755 | FormatPart(rdata, "Body", rdata.userAppearance.BodyItem, rdata.userAppearance.BodyAsset); |
753 | FormatPart(rdata, "Skin", rdata.userAppearance.SkinItem, rdata.userAppearance.SkinAsset); | 756 | FormatPart(rdata, "Skin", rdata.userAppearance.SkinItem, rdata.userAppearance.SkinAsset); |
754 | FormatPart(rdata, "Hair", rdata.userAppearance.HairItem, rdata.userAppearance.HairAsset); | 757 | FormatPart(rdata, "Hair", rdata.userAppearance.HairItem, rdata.userAppearance.HairAsset); |
@@ -765,7 +768,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
765 | 768 | ||
766 | FormatPart(rdata, "UnderShirt", rdata.userAppearance.UnderShirtItem, rdata.userAppearance.UnderShirtAsset); | 769 | FormatPart(rdata, "UnderShirt", rdata.userAppearance.UnderShirtItem, rdata.userAppearance.UnderShirtAsset); |
767 | FormatPart(rdata, "UnderPants", rdata.userAppearance.UnderPantsItem, rdata.userAppearance.UnderPantsAsset); | 770 | FormatPart(rdata, "UnderPants", rdata.userAppearance.UnderPantsItem, rdata.userAppearance.UnderPantsAsset); |
768 | 771 | */ | |
769 | Rest.Log.DebugFormat("{0} FormatUserAppearance: Formatting attachments", MsgId); | 772 | Rest.Log.DebugFormat("{0} FormatUserAppearance: Formatting attachments", MsgId); |
770 | 773 | ||
771 | rdata.writer.WriteStartElement("Attachments"); | 774 | rdata.writer.WriteStartElement("Attachments"); |