From 77e43f480154b0a950d9d5f54df5c225fc64e77a Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 11 Jan 2010 17:30:05 -0800 Subject: Fixed a couple of bugs with Appearance. Appearance is all good now. --- OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest') diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs index 5429890..b70a511 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs @@ -304,7 +304,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory String.Format("appearance data not found for user {0} {1}", rdata.userProfile.FirstName, rdata.userProfile.SurName)); } - rdata.userAppearance = adata.ToAvatarAppearance(); + rdata.userAppearance = adata.ToAvatarAppearance(rdata.userProfile.ID); rdata.initXmlWriter(); @@ -446,7 +446,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory if (adata != null) { - AvatarAppearance old = adata.ToAvatarAppearance(); + AvatarAppearance old = adata.ToAvatarAppearance(rdata.userProfile.ID); rdata.userAppearance = new AvatarAppearance(); rdata.userAppearance.Owner = old.Owner; adata = new AvatarData(rdata.userAppearance); -- cgit v1.1