* Fixed about Text in the profile in grid mode.

0.6.0-stable
Teravus Ovares 2008-03-03 09:30:59 +00:00
parent d50eb9d2b3
commit 794deeeb85
2 changed files with 5 additions and 1 deletions

View File

@ -1589,7 +1589,10 @@ namespace OpenSim.Region.ClientStack
AvatarPropertiesReplyPacket avatarReply = (AvatarPropertiesReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarPropertiesReply); AvatarPropertiesReplyPacket avatarReply = (AvatarPropertiesReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarPropertiesReply);
avatarReply.AgentData.AgentID = AgentId; avatarReply.AgentData.AgentID = AgentId;
avatarReply.AgentData.AvatarID = avatarID; avatarReply.AgentData.AvatarID = avatarID;
avatarReply.PropertiesData.AboutText = Helpers.StringToField(aboutText); if (aboutText != null)
avatarReply.PropertiesData.AboutText = Helpers.StringToField(aboutText);
else
avatarReply.PropertiesData.AboutText = Helpers.StringToField("");
avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn); avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn);
avatarReply.PropertiesData.CharterMember = Helpers.StringToField(charterMember); avatarReply.PropertiesData.CharterMember = Helpers.StringToField(charterMember);
if (flAbout != null) if (flAbout != null)

View File

@ -70,6 +70,7 @@ namespace OpenSim.Region.Communications.OGS1
userData.profileFirstImage = new LLUUID((string) data["profile_firstlife_image"]); userData.profileFirstImage = new LLUUID((string) data["profile_firstlife_image"]);
userData.profileCanDoMask = Convert.ToUInt32((string) data["profile_can_do"]); userData.profileCanDoMask = Convert.ToUInt32((string) data["profile_can_do"]);
userData.profileWantDoMask = Convert.ToUInt32(data["profile_want_do"]); userData.profileWantDoMask = Convert.ToUInt32(data["profile_want_do"]);
userData.profileAboutText = (string)data["profile_about"];
userData.profileImage = new LLUUID((string) data["profile_image"]); userData.profileImage = new LLUUID((string) data["profile_image"]);
userData.lastLogin = Convert.ToInt32((string) data["profile_lastlogin"]); userData.lastLogin = Convert.ToInt32((string) data["profile_lastlogin"]);
userData.homeRegion = Convert.ToUInt64((string) data["home_region"]); userData.homeRegion = Convert.ToUInt64((string) data["home_region"]);