* Whoops, SQLite land data malfunction. Fixed.

0.6.0-stable
Teravus Ovares 2008-05-01 00:40:47 +00:00
parent 25a49ac4de
commit 4dfc9bdd0b
1 changed files with 2 additions and 1 deletions

View File

@ -976,7 +976,7 @@ namespace OpenSim.Data.SQLite
{ {
Helpers.TryParse((string)row["AuthbuyerID"], out authBuyerID); Helpers.TryParse((string)row["AuthbuyerID"], out authBuyerID);
} }
catch (InvalidCastException) catch (InvalidCastException e)
{ {
// Database table was created before we got here and now has null values :P // Database table was created before we got here and now has null values :P
try try
@ -1165,6 +1165,7 @@ namespace OpenSim.Data.SQLite
row["UserLookAtX"] = land.userLookAt.X; row["UserLookAtX"] = land.userLookAt.X;
row["UserLookAtY"] = land.userLookAt.Y; row["UserLookAtY"] = land.userLookAt.Y;
row["UserLookAtZ"] = land.userLookAt.Z; row["UserLookAtZ"] = land.userLookAt.Z;
row["AuthbuyerID"] = Util.ToRawUuidString(land.authBuyerID);
} }
private void fillLandAccessRow(DataRow row, ParcelManager.ParcelAccessEntry entry, LLUUID parcelID) private void fillLandAccessRow(DataRow row, ParcelManager.ParcelAccessEntry entry, LLUUID parcelID)