aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs
index 4a44321..a6d5b01 100644
--- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs
@@ -343,7 +343,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
343 343
344 Rest.Log.DebugFormat("{0} POST ENTRY", MsgId); 344 Rest.Log.DebugFormat("{0} POST ENTRY", MsgId);
345 345
346 AvatarAppearance old = Rest.AvatarServices.GetUserAppearance(rdata.userProfile.ID); 346 //AvatarAppearance old = Rest.AvatarServices.GetUserAppearance(rdata.userProfile.ID);
347 347
348 rdata.userAppearance = new AvatarAppearance(); 348 rdata.userAppearance = new AvatarAppearance();
349 349
@@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
749 rdata.writer.WriteStartElement("Appearance"); 749 rdata.writer.WriteStartElement("Appearance");
750 750
751 rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString()); 751 rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString());
752 if (rdata.userAppearance.Owner != null) 752 if (!rdata.userAppearance.Owner.Equals(null))
753 rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString()); 753 rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString());
754 rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString()); 754 rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString());
755 755