aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-26 15:28:14 +0000
committerJustin Clarke Casey2008-09-26 15:28:14 +0000
commit97323345ee7953258c6902138c50265eac39c319 (patch)
tree383249b76c73023a318c3e60f2b5968c630240a6 /OpenSim/ApplicationPlugins
parent* Apply http://opensimulator.org/mantis/view.php?id=2274 (diff)
downloadopensim-SC_OLD-97323345ee7953258c6902138c50265eac39c319.zip
opensim-SC_OLD-97323345ee7953258c6902138c50265eac39c319.tar.gz
opensim-SC_OLD-97323345ee7953258c6902138c50265eac39c319.tar.bz2
opensim-SC_OLD-97323345ee7953258c6902138c50265eac39c319.tar.xz
* minor: remove warnings
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-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