mirror of
https://github.com/opensim/opensim.git
synced 2026-05-30 14:17:12 +08:00
* Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
This commit is contained in:
@@ -590,7 +590,7 @@ namespace OpenSim.Framework.Data.SQLite
|
||||
// interesting has to be done to actually get these values
|
||||
// back out. Not enough time to figure it out yet.
|
||||
UserProfileData user = new UserProfileData();
|
||||
user.UUID = new LLUUID((String) row["UUID"]);
|
||||
LLUUID.TryParse((String)row["UUID"], out user.UUID);
|
||||
user.username = (String) row["username"];
|
||||
user.surname = (String) row["surname"];
|
||||
user.passwordHash = (String) row["passwordHash"];
|
||||
@@ -617,8 +617,8 @@ namespace OpenSim.Framework.Data.SQLite
|
||||
user.profileWantDoMask = Convert.ToUInt32(row["profileWantDoMask"]);
|
||||
user.profileAboutText = (String) row["profileAboutText"];
|
||||
user.profileFirstText = (String) row["profileFirstText"];
|
||||
user.profileImage = new LLUUID((String) row["profileImage"]);
|
||||
user.profileFirstImage = new LLUUID((String) row["profileFirstImage"]);
|
||||
LLUUID.TryParse((String)row["profileImage"], out user.profileImage);
|
||||
LLUUID.TryParse((String)row["profileFirstImage"], out user.profileFirstImage);
|
||||
user.webLoginKey = new LLUUID((String) row["webLoginKey"]);
|
||||
|
||||
return user;
|
||||
@@ -832,4 +832,4 @@ namespace OpenSim.Framework.Data.SQLite
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user